mirror of
https://github.com/EdgeTX/edgetx.git
synced 2025-07-24 00:35:14 +03:00
[ARM boards] Model persistent timers / telemetry / pots positions were not always correctly saved
This commit is contained in:
parent
4a88d3477d
commit
2b32abe467
8 changed files with 40 additions and 45 deletions
|
@ -71,7 +71,7 @@ void selectModel(uint8_t sub)
|
|||
#if !defined(COLORLCD)
|
||||
showMessageBox(STR_LOADINGMODEL);
|
||||
#endif
|
||||
saveTimers();
|
||||
storageFlushCurrentModel();
|
||||
storageCheck(true); // force writing of current model data before this is changed
|
||||
g_eeGeneral.currModel = sub;
|
||||
storageDirty(EE_GENERAL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue