Fixes #6707 (reboot issue on X9E)

This commit is contained in:
Bertrand Songis
2019-09-04 12:55:03 +02:00
parent 73ae084016
commit 995aa8708a
4 changed files with 19 additions and 7 deletions
@@ -209,9 +209,8 @@ int main()
RCC_APB2PeriphClockCmd(LCD_RCC_APB2Periph | BACKLIGHT_RCC_APB2Periph | RCC_APB2Periph_SYSCFG, ENABLE);
keysInit();
pwrInit();
pwrOff();
keysInit();
#if defined(PCBHORUS)
// wait a bit for the inputs to stabilize...