diff options
Diffstat (limited to 'src/systemtask/SystemTask.cpp')
| -rw-r--r-- | src/systemtask/SystemTask.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/systemtask/SystemTask.cpp b/src/systemtask/SystemTask.cpp index d5bca239..3ceb63d4 100644 --- a/src/systemtask/SystemTask.cpp +++ b/src/systemtask/SystemTask.cpp @@ -49,7 +49,6 @@ void MeasureBatteryTimerCallback(TimerHandle_t xTimer) { } SystemTask::SystemTask(Drivers::SpiMaster& spi, - Drivers::St7789& lcd, Pinetime::Drivers::SpiNorFlash& spiNorFlash, Drivers::TwiMaster& twiMaster, Drivers::Cst816S& touchPanel, @@ -71,7 +70,6 @@ SystemTask::SystemTask(Drivers::SpiMaster& spi, Pinetime::Controllers::TouchHandler& touchHandler, Pinetime::Controllers::ButtonHandler& buttonHandler) : spi {spi}, - lcd {lcd}, spiNorFlash {spiNorFlash}, twiMaster {twiMaster}, touchPanel {touchPanel}, @@ -131,7 +129,6 @@ void SystemTask::Work() { fs.Init(); nimbleController.Init(); - lcd.Init(); twiMaster.Init(); /* @@ -232,7 +229,6 @@ void SystemTask::Work() { xTimerStart(dimTimer, 0); spiNorFlash.Wakeup(); - lcd.Wakeup(); displayApp.PushMessage(Pinetime::Applications::Display::Messages::GoToRunning); heartRateApp.PushMessage(Pinetime::Applications::HeartRateTask::Messages::WakeUp); @@ -362,7 +358,6 @@ void SystemTask::Work() { // if it's in sleep mode. Avoid bricked device by disabling sleep mode on these versions. spiNorFlash.Sleep(); } - lcd.Sleep(); spi.Sleep(); // Double Tap needs the touch screen to be in normal mode |
