mirror of
https://github.com/opentx/opentx.git
synced 2025-07-13 11:29:51 +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();
|
||||
|
||||
#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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue