Now the Lua Telemetry scripts
This commit is contained in:
@@ -56,7 +56,7 @@ enum FrskyViews {
|
||||
FRSKY_VIEW_MAX = e_frsky_after_flight
|
||||
};
|
||||
|
||||
static uint8_t s_frsky_view = e_frsky_custom_screen_1;
|
||||
uint8_t s_frsky_view = e_frsky_custom_screen_1;
|
||||
|
||||
#if LCD_W >= 212
|
||||
#define BAR_LEFT 26
|
||||
@@ -206,6 +206,12 @@ void menuTelemetryFrsky(uint8_t event)
|
||||
#endif
|
||||
}
|
||||
|
||||
#if defined(LUA)
|
||||
if (isTelemetryScriptAvailable(s_frsky_view)) {
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
lcdDrawTelemetryTopBar();
|
||||
|
||||
if (s_frsky_view < MAX_FRSKY_SCREENS) {
|
||||
|
||||
Reference in New Issue
Block a user