Another big refactoring

This commit is contained in:
Bertrand Songis
2016-08-02 22:15:29 +02:00
parent 52435703a0
commit 7fbd963b3f
140 changed files with 1311 additions and 1292 deletions
+2 -2
View File
@@ -69,7 +69,7 @@ uint8_t eeFindEmptyModel(uint8_t id, bool down)
void selectModel(uint8_t sub)
{
#if !defined(COLORLCD)
displayPopup(STR_LOADINGMODEL);
showMessageBox(STR_LOADINGMODEL);
#endif
saveTimers();
storageCheck(true); // force writing of current model data before this is changed
@@ -120,7 +120,7 @@ void storageEraseAll(bool warn)
ALERT(STR_STORAGE_WARNING, STR_BAD_RADIO_DATA, AU_BAD_RADIODATA);
}
MESSAGE(STR_STORAGE_WARNING, STR_STORAGE_FORMAT, NULL, AU_NONE);
RAISE_ALERT(STR_STORAGE_WARNING, STR_STORAGE_FORMAT, NULL, AU_NONE);
storageFormat();
storageDirty(EE_GENERAL|EE_MODEL);