1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-23 16:25:16 +03:00

[Horus] In case of current model missing on SD we create an empty model

This commit is contained in:
Bertrand Songis 2017-01-18 10:35:32 +01:00
parent cfdd37bbbb
commit 98357995fa

View file

@ -189,7 +189,10 @@ void storageReadAll()
}
#endif
loadModel(g_eeGeneral.currModelFilename, false);
if (loadModel(g_eeGeneral.currModelFilename, false) != NULL) {
sdCheckAndCreateDirectory(MODELS_PATH);
createModel();
}
}
void storageCreateModelsList()