mirror of
https://github.com/InfiniTimeOrg/InfiniTime.git
synced 2024-12-28 12:14:58 +03:00
Send command DisplayOn/Off to LCD when enabling/disabling the display.
This commit is contained in:
parent
e08cfe07c7
commit
16c7ce8929
@ -125,9 +125,11 @@ void DisplayApp::Refresh() {
|
||||
nrf_gpio_pin_set(22);
|
||||
vTaskDelay(100);
|
||||
nrf_gpio_pin_set(14);
|
||||
lcd->DisplayOff();
|
||||
state = States::Idle;
|
||||
break;
|
||||
case Messages::GoToRunning:
|
||||
lcd->DisplayOn();
|
||||
nrf_gpio_pin_clear(23);
|
||||
nrf_gpio_pin_clear(22);
|
||||
nrf_gpio_pin_clear(14);
|
||||
|
Loading…
Reference in New Issue
Block a user