Fix on color when RDS is lost.

This commit is contained in:
Sjef Verhoeven PE5PVB
2023-11-21 14:42:13 +01:00
parent 62d1e95213
commit c2d89bab24
3 changed files with 57 additions and 12 deletions
+4 -2
View File
@@ -597,7 +597,6 @@ void BuildMenu() {
}
void BuildAdvancedRDS() {
rdsreset = true;
afscreen = false;
afpage = false;
afpagenr = 1;
@@ -721,6 +720,8 @@ void BuildAdvancedRDS() {
hasrtplusold = false;
afmethodBold = false;
rds_clockold = "";
dropout = false;
rdsreset = true;
ShowMemoryPos();
}
@@ -849,6 +850,7 @@ void BuildDisplay() {
stationIDold = " ";
stationStateold = " ";
BWreset = true;
dropout = false;
if (band < BAND_GAP) tftPrint(-1, "MHz", 258, ITEM3 + 6, ActiveColor, ActiveColorSmooth, 28); else tftPrint(-1, "kHz", 258, ITEM3 + 6, ActiveColor, ActiveColorSmooth, 28);
}
@@ -2514,4 +2516,4 @@ void Infoboxprint(const char* input) {
} else {
tftPrint(0, input, 155, 78, ActiveColor, ActiveColorSmooth, 28);
}
}
}