Fixed: RDS dropout was shown in menu

This commit is contained in:
Sjef Verhoeven PE5PVB
2023-10-23 20:08:17 +02:00
parent 088d510fc5
commit 6175976359
+3 -3
View File
@@ -837,7 +837,7 @@ void loop() {
LowLevelInit = false; LowLevelInit = false;
} }
if (screenmute || radio.rds.correctPI != 0) readRds(); if (!menu && (screenmute || radio.rds.correctPI != 0)) readRds();
if (millis() >= lowsignaltimer + 300) { if (millis() >= lowsignaltimer + 300) {
lowsignaltimer = millis(); lowsignaltimer = millis();
if (af || (!screenmute || (screenmute && (XDRGTKTCP || XDRGTKUSB)))) { if (af || (!screenmute || (screenmute && (XDRGTKTCP || XDRGTKUSB)))) {
@@ -945,10 +945,10 @@ void loop() {
void GetData() { void GetData() {
if (band < BAND_GAP) ShowStereoStatus(); if (band < BAND_GAP) ShowStereoStatus();
if (band < BAND_GAP) { if (band < BAND_GAP && !menu) {
if (advancedRDS && !afscreen && !screenmute) ShowAdvancedRDS(); if (advancedRDS && !afscreen && !screenmute) ShowAdvancedRDS();
if (afscreen && !screenmute) ShowAFEON(); if (afscreen && !screenmute) ShowAFEON();
if (!afscreen) { if (!afscreen && !menu) {
showPTY(); showPTY();
showECC(); showECC();
showRadioText(); showRadioText();