Fix compilation with LUA=NO and COLORLCD
This commit is contained in:
@@ -1831,7 +1831,7 @@ void opentxInit()
|
|||||||
storageReadCurrentModel();
|
storageReadCurrentModel();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(COLORLCD)
|
#if defined(COLORLCD) && defined(LUA)
|
||||||
if (!globalData.unexpectedShutdown) {
|
if (!globalData.unexpectedShutdown) {
|
||||||
// ??? lua widget state must be prepared before the call to storageReadAll()
|
// ??? lua widget state must be prepared before the call to storageReadAll()
|
||||||
luaInitThemesAndWidgets();
|
luaInitThemesAndWidgets();
|
||||||
|
|||||||
Reference in New Issue
Block a user