Resync modem_config display with 1.3 protobufs

current as of 20220326
pull/1326/head
Thomas Göttgens 2022-03-26 10:59:36 +01:00 zatwierdzone przez GitHub
rodzic 596a889a1e
commit 42ee4e8416
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 9 dodań i 9 usunięć

Wyświetl plik

@ -1365,21 +1365,21 @@ void DebugInfo::drawFrameSettings(OLEDDisplay *display, OLEDDisplayUiState *stat
}
auto mode = "";
if (channels.getPrimary().modem_config == 0) {
mode = "ShrtSlow";
if (channels.getPrimary().modem_config == 0) {
mode = "VLongSlow";
} else if (channels.getPrimary().modem_config == 1) {
mode = "ShrtFast";
mode = "LongSlow";
} else if (channels.getPrimary().modem_config == 2) {
mode = "MedSlow";
mode = "LongFast";
} else if (channels.getPrimary().modem_config == 3) {
mode = "MedFast";
mode = "MidSlow";
} else if (channels.getPrimary().modem_config == 4) {
mode = "LngFast";
mode = "MidFast";
} else if (channels.getPrimary().modem_config == 5) {
mode = "LngSlow";
mode = "ShortSlow";
} else if (channels.getPrimary().modem_config == 6) {
mode = "VngSlow";
mode = "ShortFast";
} else {
mode = "Custom";
}