[Horus] Freeze when invalid (or no) model bitmap
This commit is contained in:
@@ -414,8 +414,6 @@ const char * storageModifyLine(unsigned int operation, int category, int positio
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
f_close(&file);
|
||||
f_unlink(RADIO_PATH "/models.old");
|
||||
f_rename(RADIO_MODELSLIST_PATH, RADIO_PATH "/models.old");
|
||||
|
||||
@@ -123,7 +123,6 @@ void storageEraseAll(bool warn)
|
||||
MESSAGE(STR_STORAGE_WARNING, STR_STORAGE_FORMAT, NULL, AU_STORAGE_FORMAT);
|
||||
|
||||
storageFormat();
|
||||
storageDirty(EE_GENERAL);
|
||||
storageDirty(EE_MODEL);
|
||||
storageDirty(EE_GENERAL|EE_MODEL);
|
||||
storageCheck(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user