Fixes #3549: disable trim processing in while shutdown is in progress, do no turn of the back-light before the shutdown (#3612) (ported from master)

This commit is contained in:
Damjan Adamic
2016-06-18 22:26:25 +02:00
parent 53b51cac94
commit f1bdb931b8
2 changed files with 5 additions and 2 deletions
+5
View File
@@ -1950,6 +1950,11 @@ void opentxStart()
#if defined(CPUARM) || defined(CPUM2560)
void opentxClose()
{
#if defined(CPUARM)
watchdogSetTimeout(2000/*20s*/);
#endif
pausePulses(); // stop mixer task to disable trims processing while in shutdown
AUDIO_BYE();
#if defined(FRSKY)
-2
View File
@@ -239,8 +239,6 @@ void menusTask(void * pdata)
toplcdOff();
#endif
BACKLIGHT_OFF();
#if defined(PCBHORUS)
ledOff();
#endif