Fix wrong colors of PS/PI/PTY after AF recovery with no signal

This commit is contained in:
Sjef Verhoeven PE5PVB
2023-11-30 11:17:25 +01:00
parent 7a527759f7
commit 208f7f2540
2 changed files with 4 additions and 2 deletions

View File

@@ -751,6 +751,7 @@ void loop() {
frequency = radio.TestAF();
if (freqold != frequency) {
ShowFreq(0);
dropout = true;
if (radio.afmethodB) {
afmethodBold = true;
radio.clearRDS(fullsearchrds);
@@ -767,6 +768,7 @@ void loop() {
frequency = radio.TestAF();
if (freqold != frequency) {
ShowFreq(0);
dropout = true;
if (radio.afmethodB) {
afmethodBold = true;
radio.clearRDS(fullsearchrds);
@@ -782,6 +784,7 @@ void loop() {
frequency = radio.TestAF();
if (freqold != frequency) {
ShowFreq(0);
dropout = true;
if (radio.afmethodB) {
afmethodBold = true;
radio.clearRDS(fullsearchrds);
@@ -2370,7 +2373,7 @@ void DoMemoryPosTune() {
} else if (band == BAND_MW) {
frequency_MW = memory[memorypos];
radio.SetFreqAM(frequency_MW);
} else if (band == BAND_SW){
} else if (band == BAND_SW) {
frequency_SW = memory[memorypos];
radio.SetFreqAM(frequency_SW);
}

View File

@@ -300,7 +300,6 @@ void readRds() {
} else {
if (dropout) {
if (region == REGION_EU) {
if (advancedRDS) tftPrint(0, PIold, 275, 75, PrimaryColor, PrimaryColorSmooth, 28); else tftPrint(0, PIold, 275, 187, PrimaryColor, PrimaryColorSmooth, 28);
}