1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-23 08:15:17 +03:00

Exit from bootloader was broken again

This commit is contained in:
Bertrand Songis 2019-08-17 13:58:14 +02:00
parent 31b501383e
commit 93ae7f1fb6
No known key found for this signature in database
GPG key ID: F189F79290FEC50F

View file

@ -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