Make battery reading periodic. Add events. Disable pullup

This commit is contained in:
Riku Isokoski
2021-08-14 21:18:11 +03:00
parent 643077341b
commit 23bde0d18e
8 changed files with 38 additions and 32 deletions

View File

@@ -194,9 +194,6 @@ 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;