mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 16:25:16 +03:00
Exit from bootloader was broken again
This commit is contained in:
parent
31b501383e
commit
93ae7f1fb6
1 changed files with 6 additions and 0 deletions
|
@ -174,6 +174,12 @@ void boardInit()
|
|||
DBGMCU_APB1PeriphConfig(DBGMCU_IWDG_STOP|DBGMCU_TIM1_STOP|DBGMCU_TIM2_STOP|DBGMCU_TIM3_STOP|DBGMCU_TIM6_STOP|DBGMCU_TIM8_STOP|DBGMCU_TIM10_STOP|DBGMCU_TIM13_STOP|DBGMCU_TIM14_STOP, ENABLE);
|
||||
#endif
|
||||
|
||||
#if defined(PWR_BUTTON_PRESS)
|
||||
if (WAS_RESET_BY_WATCHDOG_OR_SOFTWARE()) {
|
||||
pwrOn();
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(TOPLCD_GPIO)
|
||||
toplcdInit();
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue