1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-19 14:25:11 +03:00

[Taranis] Display of shutdown bitmap instead of the message "SHUTDOWN"

in the popup
This commit is contained in:
bsongis 2015-07-14 19:31:06 +02:00
parent 7d9cd8c869
commit f51a313708
5 changed files with 27 additions and 15 deletions

View file

@ -182,19 +182,21 @@ void menusTask(void * pdata)
}
}
lcd_clear();
displayPopup(STR_SHUTDOWN);
opentxClose();
lcd_clear();
lcdRefresh();
lcdOff();
BACKLIGHT_OFF();
#if defined(REV9E)
topLcdOff();
#endif
BACKLIGHT_OFF();
#if defined(PCBTARANIS)
displaySleepBitmap();
#else
lcd_clear();
displayPopup(STR_SHUTDOWN);
#endif
opentxClose();
#if !defined(SIMU)
SysTick->CTRL = 0; // turn off systick
#endif