Fix BW default switch warning

This commit is contained in:
3djc
2023-06-25 14:32:39 +02:00
committed by Malte Langermann
parent cc47656cd5
commit fc6ad808ad
2 changed files with 7 additions and 1 deletions
+6 -1
View File
@@ -125,9 +125,14 @@ void applyDefaultTemplate()
g_model.switchWarningState |= (1 << (3 * i));
}
}
#else
// enable switch warnings
for (int i = 0; i < MAX_SWITCHES; i++) {
if (SWITCH_WARNING_ALLOWED(i))
g_model.switchWarningState |= (1 << (3 * i));
}
#endif
// TODO: what about switch warnings in non-color LCD radios?
}