1
0
Fork 0
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:
Damjan Adamic 2015-04-06 18:22:34 +02:00
parent 8f75c8a1e0
commit 0f15828093
4 changed files with 13 additions and 0 deletions

View file

@ -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