diff --git a/TEF6686_ESP32.ino b/TEF6686_ESP32.ino index 40bc046..6c196e3 100644 --- a/TEF6686_ESP32.ino +++ b/TEF6686_ESP32.ino @@ -1007,7 +1007,7 @@ void GetData() { if (advancedRDS && !afscreen && !screenmute) ShowAdvancedRDS(); if (afscreen && !screenmute) ShowAFEON(); if (!afscreen) { - ShowErrors(); + if (!screenmute) ShowErrors(); showPTY(); showECC(); showRadioText(); diff --git a/src/rds.cpp b/src/rds.cpp index f287120..cc6ac1f 100644 --- a/src/rds.cpp +++ b/src/rds.cpp @@ -587,11 +587,11 @@ void showPI() { PIold = radio.rds.picode; stationIDold = radio.rds.stationID; stationStateold = radio.rds.stationState; - if (wifi) { - Udp.beginPacket(remoteip, 9030); - Udp.print("from=TEF_tuner " + String(stationlistid, DEC) + ";PI=" + String(radio.rds.picode, 4)); - Udp.endPacket(); - } + } + if (wifi) { + Udp.beginPacket(remoteip, 9030); + Udp.print("from=TEF_tuner " + String(stationlistid, DEC) + ";PI=" + String(radio.rds.picode, 4)); + Udp.endPacket(); } } }