Fix for issue #537
The function luaResume(...) assumes that it is called alternatingly in the background and the foreground. But on color LCD radios it is only called in the foreground by standalone and tools script, so it got stuck waiting for a foreground call.
This commit is contained in:
@@ -971,7 +971,10 @@ static bool resumeLua(bool init, bool allowLcdUsage)
|
||||
}
|
||||
else
|
||||
#endif
|
||||
if (lua_status(lsScripts) == LUA_YIELD)
|
||||
return scriptWasRun;
|
||||
else
|
||||
luaLcdAllowed = allowLcdUsage;
|
||||
}
|
||||
|
||||
do {
|
||||
|
||||
Reference in New Issue
Block a user