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:
parent
259919375e
commit
0c843eceb3
1 changed files with 4 additions and 4 deletions
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue