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:
parent
cfdd37bbbb
commit
98357995fa
1 changed files with 4 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue