Compilation fixes after rebase
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
#include "opentx.h"
|
||||
#include "conversions.h"
|
||||
|
||||
#if defined(COLORLCD)
|
||||
#if defined(COLORLCD) && !defined(SDCARD_YAML)
|
||||
#include "storage/modelslist.h"
|
||||
#include "storage/sdcard_common.h"
|
||||
|
||||
|
||||
@@ -213,7 +213,7 @@ void convertModelData_219_to_220(ModelData &model)
|
||||
|
||||
if (defaultLayout) {
|
||||
strcpy(newModel.screenData[0].LayoutId, defaultLayout->getId());
|
||||
defaultLayout->initPersistentData(&newModel.screenData[0].layoutData);
|
||||
defaultLayout->initPersistentData(&newModel.screenData[0].layoutData, true);
|
||||
}
|
||||
#endif
|
||||
free(oldModelAllocated);
|
||||
|
||||
Reference in New Issue
Block a user