Remove lcd from DisplayApp
This commit is contained in:
parent
4229386501
commit
6dac0a62f4
|
@ -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;
|
||||
|
|
|
@ -22,9 +22,6 @@ namespace Pinetime {
|
|||
|
||||
void DrawBuffer(uint16_t x, uint16_t y, uint16_t width, uint16_t height, const uint8_t* data, size_t size);
|
||||
|
||||
void DisplayOn();
|
||||
void DisplayOff();
|
||||
|
||||
void Sleep();
|
||||
void Wakeup();
|
||||
|
||||
|
@ -42,6 +39,9 @@ namespace Pinetime {
|
|||
void DisplayInversionOn();
|
||||
void NormalModeOn();
|
||||
void WriteToRam();
|
||||
void DisplayOn();
|
||||
void DisplayOff();
|
||||
|
||||
void SetAddrWindow(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1);
|
||||
void SetVdv();
|
||||
void WriteCommand(uint8_t cmd);
|
||||
|
|
Loading…
Reference in a new issue