From 9c642e9e5cab0db67e12bbba191aa01d76ac86fc Mon Sep 17 00:00:00 2001 From: Raphael Coeffic Date: Sat, 15 May 2021 13:39:37 +0200 Subject: [PATCH] Fix compilation with LUA=NO and COLORLCD --- radio/src/opentx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/opentx.cpp b/radio/src/opentx.cpp index 08ab1872c..0dd4f9597 100644 --- a/radio/src/opentx.cpp +++ b/radio/src/opentx.cpp @@ -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();