chore: resolve compiler warnings and cleanup code (#6952)

This commit is contained in:
philmoz
2026-01-06 10:24:15 +10:00
committed by GitHub
parent 90372853d5
commit 0d0e73326d
10 changed files with 60 additions and 78 deletions
+1 -3
View File
@@ -3001,7 +3001,7 @@ static int luaSetCFSLedColor(lua_State * L)
}
#endif
#if defined(LED_STRIP_LENGTH)
#if (BLING_LED_STRIP_LENGTH > 0) || (CFS_LED_STRIP_LENGTH > 0)
/*luadoc
@function applyRGBLedColors()
@@ -3012,9 +3012,7 @@ static int luaSetCFSLedColor(lua_State * L)
static int luaApplyRGBLedColors(lua_State * L)
{
rgbLedColorApply();
return 1;
}
#endif
+1 -1
View File
@@ -116,7 +116,7 @@ void LuaWidgetFactory::translateOptions(WidgetOption * options)
lang[1] = toupper(g_eeGeneral.ttsLanguage[1]);
lang[2] = 0;
#else
char* lang = TRANSLATIONS;
const char* lang = TRANSLATIONS;
#endif
auto option = options;