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:
@@ -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)
|
||||
|
||||
@@ -239,8 +239,6 @@ void menusTask(void * pdata)
|
||||
toplcdOff();
|
||||
#endif
|
||||
|
||||
BACKLIGHT_OFF();
|
||||
|
||||
#if defined(PCBHORUS)
|
||||
ledOff();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user