Remove lcd from DisplayApp

This commit is contained in:
Riku Isokoski
2021-09-06 11:59:54 +03:00
committed by JF
parent 4229386501
commit 6dac0a62f4
2 changed files with 3 additions and 5 deletions

View File

@@ -163,12 +163,10 @@ void DisplayApp::Refresh() {
brightnessController.Lower();
vTaskDelay(100);
}
lcd.DisplayOff();
PushMessageToSystemTask(Pinetime::System::Messages::OnDisplayTaskSleeping);
state = States::Idle;
break;
case Messages::GoToRunning:
lcd.DisplayOn();
brightnessController.Restore();
state = States::Running;
break;