Fixes #3683: Display trainer icon in master mode when IS_TRAINER_INPUT_VALID() is true, don't rely on trainer jack connected detection. (#4233)

This commit is contained in:
Damjan Adamic
2017-01-15 10:01:30 +01:00
committed by Bertrand Songis
parent 2e12b6401f
commit 985dff2af7
+6 -6
View File
@@ -260,15 +260,15 @@ void displayTopBar()
x -= 12;
}
if (TRAINER_CONNECTED()) {
if (SLAVE_MODE()) {
if (SLAVE_MODE()) {
if (TRAINER_CONNECTED()) {
LCD_NOTIF_ICON(x, ICON_TRAINEE);
x -= 12;
}
else if (IS_TRAINER_INPUT_VALID()) {
LCD_NOTIF_ICON(x, ICON_TRAINER);
x -= 12;
}
}
else if (IS_TRAINER_INPUT_VALID()) {
LCD_NOTIF_ICON(x, ICON_TRAINER);
x -= 12;
}
if (isFunctionActive(FUNCTION_LOGS)) {