feat(color): use dynamic memory allocation for screen & widget data (#6782)
This commit is contained in:
@@ -343,6 +343,9 @@ const char * readModelYaml(const char * filename, uint8_t * buffer, uint32_t siz
|
||||
#if defined(FUNCTION_SWITCHES)
|
||||
extern void initCustomSwitches();
|
||||
initCustomSwitches();
|
||||
#endif
|
||||
#if defined(COLORLCD)
|
||||
g_model.initScreenData();
|
||||
#endif
|
||||
auto md = reinterpret_cast<ModelData*>(buffer);
|
||||
#if defined(FLIGHT_MODES) && defined(GVARS)
|
||||
|
||||
Reference in New Issue
Block a user