TimerController: Rename to Timer

This commit is contained in:
Riku Isokoski
2023-04-11 12:18:49 +03:00
parent 661ffbeb1e
commit 40f7e1c7be
7 changed files with 26 additions and 26 deletions

View File

@@ -95,7 +95,7 @@ DisplayApp::DisplayApp(Drivers::St7789& lcd,
touchHandler {touchHandler},
filesystem {filesystem},
lvgl {lcd, filesystem},
timerController(this, TimerCallback) {
timer(this, TimerCallback) {
}
void DisplayApp::Start(System::BootErrors error) {
@@ -452,7 +452,7 @@ void DisplayApp::LoadScreen(Apps app, DisplayApp::FullRefreshDirections directio
Screens::Notifications::Modes::Preview);
break;
case Apps::Timer:
currentScreen = std::make_unique<Screens::Timer>(timerController);
currentScreen = std::make_unique<Screens::Timer>(timer);
break;
case Apps::Alarm:
currentScreen = std::make_unique<Screens::Alarm>(alarmController, settingsController.GetClockType(), *systemTask, motorController);