Fix compilation with LUA=NO and COLORLCD

This commit is contained in:
Raphael Coeffic
2021-05-15 13:39:37 +02:00
parent 590ec5a9ed
commit 9c642e9e5c
+1 -1
View File
@@ -1831,7 +1831,7 @@ void opentxInit()
storageReadCurrentModel();
#endif
#if defined(COLORLCD)
#if defined(COLORLCD) && defined(LUA)
if (!globalData.unexpectedShutdown) {
// ??? lua widget state must be prepared before the call to storageReadAll()
luaInitThemesAndWidgets();