1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-14 03:49:52 +03:00

Fix critical issue when flashing 2.2.x firm from 2.3 bootloader (making 2.3 BL init wrong interupt not handled by 2.2 firm)

This commit is contained in:
3djc 2019-06-04 16:42:02 +02:00
parent 259919375e
commit 0c843eceb3

View file

@ -210,10 +210,6 @@ int main()
keysInit(); keysInit();
#if defined(ROTARY_ENCODER_NAVIGATION)
rotaryEncoderInit();
#endif
boardPreInit(); boardPreInit();
// wait for inputs to stabilize // wait for inputs to stabilize
@ -227,6 +223,10 @@ int main()
jumpTo(APP_START_ADDRESS); jumpTo(APP_START_ADDRESS);
} }
#if defined(ROTARY_ENCODER_NAVIGATION)
rotaryEncoderInit();
#endif
pwrInit(); pwrInit();
delaysInit(); // needed for lcdInit() delaysInit(); // needed for lcdInit()