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