Remove clockType variable by checking for nullptr instead.

Saves a few bytes
This commit is contained in:
Riku Isokoski
2022-07-26 13:15:07 +03:00
committed by JF
parent 97048121b0
commit 7a6ede112e
2 changed files with 10 additions and 10 deletions

View File

@@ -42,10 +42,10 @@ namespace Pinetime {
private:
Controllers::AlarmController& alarmController;
const Controllers::Settings::ClockType clockType;
System::SystemTask& systemTask;
lv_obj_t *lblampm, *btnStop, *txtStop, *btnRecur, *txtRecur, *btnInfo, *enableSwitch;
lv_obj_t *btnStop, *txtStop, *btnRecur, *txtRecur, *btnInfo, *enableSwitch;
lv_obj_t* lblampm = nullptr;
lv_obj_t* txtMessage = nullptr;
lv_obj_t* btnMessage = nullptr;
lv_task_t* taskStopAlarm = nullptr;