From 088f4d5e3f63fbd3af05f3686e8f4320d445eda7 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Mon, 26 Oct 2015 19:19:49 +0100 Subject: [PATCH] [Taranis] The trainer icon will be shown only if valid PPM is received --- radio/src/gui/Taranis/view_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/gui/Taranis/view_main.cpp b/radio/src/gui/Taranis/view_main.cpp index b5a441d9d..2c1f292f3 100644 --- a/radio/src/gui/Taranis/view_main.cpp +++ b/radio/src/gui/Taranis/view_main.cpp @@ -276,7 +276,7 @@ void displayTopBar() LCD_NOTIF_ICON(x, ICON_TRAINEE); x -= 12; } - else if (TRAINER_CONNECTED() && !SLAVE_MODE()) { + else if (TRAINER_CONNECTED() && !SLAVE_MODE() && IS_TRAINER_INPUT_VALID()) { LCD_NOTIF_ICON(x, ICON_TRAINER); x -= 12; }