Dropout colors on memory channel PI and PS fixed

This commit is contained in:
Sjef Verhoeven PE5PVB
2024-04-12 15:16:15 +02:00
parent e202415dc8
commit 377d59d841
3 changed files with 7 additions and 2 deletions
+4 -1
View File
@@ -78,6 +78,7 @@ bool hasrtplusold;
bool hastmcold;
bool LowLevelInit;
bool memorystore;
bool memreset;
bool memtune;
bool menu;
bool menuopen;
@@ -2621,6 +2622,8 @@ void DoMemoryPosTune() {
}
radio.clearRDS(fullsearchrds);
// RDSstatus = false;
if (RDSSPYUSB) Serial.print("G:\r\nRESET-------\r\n\r\n");
if (RDSSPYTCP) RemoteClient.print("G:\r\nRESET-------\r\n\r\n");
if (XDRGTKUSB || XDRGTKTCP) DataPrint("T" + String((frequency + ConverterSet * 100) * 10) + "\n");
@@ -2635,7 +2638,6 @@ void DoMemoryPosTune() {
radio.rds.picode[i] = presets[memorypos].RDSPI[i];
}
radio.rds.picode[6] = '\0';
RDSstatus = true;
} else {
for (byte i = 0; i < 6; i++) {
radio.rds.picode[i] = '\0';
@@ -2648,6 +2650,7 @@ void DoMemoryPosTune() {
doBW();
BWtune = true;
memtune = true;
memreset = true;
}
void ShowFreq(int mode) {
+2 -1
View File
@@ -360,7 +360,7 @@ void readRds() {
dropout = true;
}
} else {
if (dropout) {
if (dropout || memreset) {
if (region == REGION_EU) {
if (advancedRDS) {
tftPrint(0, PIold, 275, 75, RDSColor, RDSColorSmooth, 28);
@@ -450,6 +450,7 @@ void readRds() {
}
}
dropout = false;
memreset = false;
}
}
if (CurrentSkin == 1 && !advancedRDS && !afscreen && !screenmute) {
+1
View File
@@ -25,6 +25,7 @@ extern bool hasCTold;
extern bool haseonold;
extern bool hasrtplusold;
extern bool hastmcold;
extern bool memreset;
extern bool rdsreset;
extern bool RDSSPYTCP;
extern bool RDSSPYUSB;