Fixes #1796 - needs tests on the nightly builds. Caution I removed the

lcd.lock() function completely
This commit is contained in:
bsongis
2014-10-22 20:39:19 +02:00
parent ed16ed9cc4
commit 1066176b0f
5 changed files with 4 additions and 23 deletions
+2 -2
View File
@@ -2420,7 +2420,7 @@ void perMain()
const char *warn = s_warning;
uint8_t menu = s_menu_count;
if (!LCD_LOCKED()) {
if (!LUA_STANDALONE_SCRIPT_RUNNING()) {
lcd_clear();
if (menuEvent) {
m_posVert = menuEvent == EVT_ENTRY_UP ? g_menuPos[g_menuStackPtr] : 0;
@@ -2436,7 +2436,7 @@ void perMain()
luaTask(evt);
#endif
if (!LCD_LOCKED()) {
if (!LUA_STANDALONE_SCRIPT_RUNNING()) {
if (warn) DISPLAY_WARNING(evt);
#if defined(NAVIGATION_MENUS)
if (menu) {