From 54902a5a007945c9bf60ab39e85389932b6a6820 Mon Sep 17 00:00:00 2001 From: Andre Bernet Date: Thu, 26 Jun 2014 18:54:27 +0200 Subject: [PATCH] Lua telemetry screens had been shifted in d2df4af, and start screen still wasn't the intended one. Now we've got lua first, custom second, then the voltage and end of flight default screens. Makes sense, so that the most potentially powerful type is first. --- radio/src/gui/view_telemetry.cpp | 2 +- radio/src/lua.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/radio/src/gui/view_telemetry.cpp b/radio/src/gui/view_telemetry.cpp index 7dfab8b50..983e3d76f 100644 --- a/radio/src/gui/view_telemetry.cpp +++ b/radio/src/gui/view_telemetry.cpp @@ -63,7 +63,7 @@ enum FrskyViews { FRSKY_VIEW_MAX = TELEMETRY_AFTER_FLIGHT_SCREEN }; -uint8_t s_frsky_view = TELEMETRY_VOLTAGES_SCREEN; +uint8_t s_frsky_view = 0; #if LCD_W >= 212 #define BAR_LEFT 26 diff --git a/radio/src/lua.cpp b/radio/src/lua.cpp index 88067ecb0..c2d675030 100644 --- a/radio/src/lua.cpp +++ b/radio/src/lua.cpp @@ -1284,7 +1284,7 @@ bool isTelemetryScriptAvailable(uint8_t index) { for (int i=0; i