Properly patch filenames in models.yml & handle missing files

This commit is contained in:
Raphael Coeffic
2021-11-10 11:07:01 +01:00
parent 8eceb282c6
commit d1c7ae4141
5 changed files with 35 additions and 24 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ const char * createModel()
}
#endif
const char * loadModel(const char * filename, bool alarms)
const char * loadModel(char * filename, bool alarms)
{
uint8_t version;
preModelLoad();