Remove obsoleted code

This commit is contained in:
Raphael Coeffic
2021-05-24 16:23:06 +02:00
committed by Raphael Coeffic
parent cee24fe013
commit 6b9abe0670
14 changed files with 54 additions and 1083 deletions
+4
View File
@@ -773,6 +773,7 @@ void displayLuaError(const char * title)
}
}
#if !defined(COLORLCD)
void displayAcknowledgeLuaError(event_t event)
{
warningResult = false;
@@ -781,6 +782,7 @@ void displayAcknowledgeLuaError(event_t event)
warningText = nullptr;
}
}
#endif
void luaError(lua_State * L, uint8_t error, bool acknowledge)
{
@@ -819,9 +821,11 @@ void luaError(lua_State * L, uint8_t error, bool acknowledge)
}
if (acknowledge) {
#if !defined(COLORLCD)
warningText = errorTitle;
warningType = WARNING_TYPE_INFO;
popupFunc = displayAcknowledgeLuaError;
#endif
}
else {
displayLuaError(errorTitle);