mirror of
https://github.com/EdgeTX/edgetx.git
synced 2025-07-24 00:35:14 +03:00
Radio init / masstorage start / massstorage end / shutdown sequences … (#3674)
* Radio init / masstorage start / massstorage end / shutdown sequences reordering: - More traces - Fixes #3642 - Reuses idea of #3662 Still not finished and completely untested * More traces * Compilation fix * Reuses the idea of #3652 * Alarms were checked 2 times on massstorage end
This commit is contained in:
parent
6c34752907
commit
6d2c5a4db6
16 changed files with 109 additions and 63 deletions
|
@ -44,14 +44,14 @@ void eeLoadModel(uint8_t index)
|
|||
}
|
||||
#endif
|
||||
|
||||
bool newModel = false;
|
||||
bool alarms = true;
|
||||
if (size < EEPROM_MIN_MODEL_SIZE) { // if not loaded a fair amount
|
||||
modelDefault(index) ;
|
||||
storageCheck(true);
|
||||
newModel = true;
|
||||
alarms = false;
|
||||
}
|
||||
|
||||
postModelLoad(newModel);
|
||||
postModelLoad(alarms);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue