Revert "Merge upstream"

This reverts commit 1d43adcdfa.
This commit is contained in:
Mark Russell
2021-09-16 16:12:20 -04:00
parent 1d43adcdfa
commit cdf99b08f4
33 changed files with 232 additions and 300 deletions

View File

@@ -139,6 +139,9 @@ void DisplayApp::InitHw() {
brightnessController.Set(settingsController.GetBrightness());
}
uint32_t acc = 0;
uint32_t count = 0;
bool toggle = true;
void DisplayApp::Refresh() {
TickType_t queueTimeout;
TickType_t delta;
@@ -194,6 +197,9 @@ void DisplayApp::Refresh() {
// clockScreen.SetBleConnectionState(bleController.IsConnected() ? Screens::Clock::BleConnectionStates::Connected :
// Screens::Clock::BleConnectionStates::NotConnected);
break;
case Messages::UpdateBatteryLevel:
batteryController.Update();
break;
case Messages::NewNotification:
LoadApp(Apps::NotificationsPreview, DisplayApp::FullRefreshDirections::Down);
break;