[taranis] trainer detection and main view icons

This commit is contained in:
bernet.andre@gmail.com
2013-04-13 08:52:05 +00:00
parent f14a874bf5
commit 064c8d8a5c
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -263,11 +263,11 @@ void displayTopBar()
x -= 12;
}
if (SLAVE_MODE()) {
if (TRAINER_CONNECTED() && SLAVE_MODE()) {
LCD_NOTIF_ICON(x, ICON_TRAINEE);
x -= 12;
}
else if (0) {
else if (TRAINER_CONNECTED() && !SLAVE_MODE()) {
LCD_NOTIF_ICON(x, ICON_TRAINER);
x -= 12;
}