mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 08:15:17 +03:00
X9E: turn off top lcd and both backlights when powering off
This commit is contained in:
parent
8f75c8a1e0
commit
0f15828093
4 changed files with 13 additions and 0 deletions
|
@ -179,6 +179,10 @@ void menusTask(void * pdata)
|
|||
lcd_clear();
|
||||
lcdRefresh();
|
||||
lcdOff();
|
||||
BACKLIGHT_OFF();
|
||||
#if defined(REV9E)
|
||||
topLcdOff();
|
||||
#endif
|
||||
|
||||
#if !defined(SIMU)
|
||||
SysTick->CTRL = 0; // turn off systick
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue