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:
committed by
Bertrand Songis
parent
2e12b6401f
commit
985dff2af7
@@ -260,15 +260,15 @@ void displayTopBar()
|
|||||||
x -= 12;
|
x -= 12;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (TRAINER_CONNECTED()) {
|
if (SLAVE_MODE()) {
|
||||||
if (SLAVE_MODE()) {
|
if (TRAINER_CONNECTED()) {
|
||||||
LCD_NOTIF_ICON(x, ICON_TRAINEE);
|
LCD_NOTIF_ICON(x, ICON_TRAINEE);
|
||||||
x -= 12;
|
x -= 12;
|
||||||
}
|
}
|
||||||
else if (IS_TRAINER_INPUT_VALID()) {
|
}
|
||||||
LCD_NOTIF_ICON(x, ICON_TRAINER);
|
else if (IS_TRAINER_INPUT_VALID()) {
|
||||||
x -= 12;
|
LCD_NOTIF_ICON(x, ICON_TRAINER);
|
||||||
}
|
x -= 12;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isFunctionActive(FUNCTION_LOGS)) {
|
if (isFunctionActive(FUNCTION_LOGS)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user