1
0
Fork 0
mirror of https://github.com/EdgeTX/edgetx.git synced 2025-07-24 00:35:14 +03:00

[X9D/X9D+/X9E] Fixes #4334 (#4451)

This commit is contained in:
Bertrand Songis 2017-02-15 18:25:26 +01:00 committed by Andre Bernet
parent 733cfb3218
commit 27b1255584
3 changed files with 20 additions and 3 deletions

View file

@ -88,7 +88,7 @@ void eeLoadModelHeaders()
}
#endif
void storageReadAll()
void storageReadRadioSettings()
{
if (!eepromOpen() || !eeLoadGeneral()) {
storageEraseAll(true);
@ -105,10 +105,19 @@ void storageReadAll()
}
}
#endif
}
void storageReadCurrentModel()
{
eeLoadModel(g_eeGeneral.currModel);
}
void storageReadAll()
{
storageReadRadioSettings();
storageReadCurrentModel();
}
void storageEraseAll(bool warn)
{
TRACE("storageEraseAll");