1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-13 11:29:51 +03:00

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
No known key found for this signature in database
GPG key ID: F189F79290FEC50F
4 changed files with 19 additions and 7 deletions

View file

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