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)
|
#if defined(CPUARM) || defined(CPUM2560)
|
||||||
void opentxClose()
|
void opentxClose()
|
||||||
{
|
{
|
||||||
|
#if defined(CPUARM)
|
||||||
|
watchdogSetTimeout(2000/*20s*/);
|
||||||
|
#endif
|
||||||
|
pausePulses(); // stop mixer task to disable trims processing while in shutdown
|
||||||
|
|
||||||
AUDIO_BYE();
|
AUDIO_BYE();
|
||||||
|
|
||||||
#if defined(FRSKY)
|
#if defined(FRSKY)
|
||||||
|
|||||||
@@ -239,8 +239,6 @@ void menusTask(void * pdata)
|
|||||||
toplcdOff();
|
toplcdOff();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
BACKLIGHT_OFF();
|
|
||||||
|
|
||||||
#if defined(PCBHORUS)
|
#if defined(PCBHORUS)
|
||||||
ledOff();
|
ledOff();
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user