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
+6
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