Bugfix in mutescreen routine

This commit is contained in:
Sjef Verhoeven PE5PVB
2024-02-19 21:15:42 +01:00
parent 1fb7d5a893
commit 0dc6044a57
2 changed files with 6 additions and 6 deletions

View File

@@ -1007,7 +1007,7 @@ void GetData() {
if (advancedRDS && !afscreen && !screenmute) ShowAdvancedRDS();
if (afscreen && !screenmute) ShowAFEON();
if (!afscreen) {
ShowErrors();
if (!screenmute) ShowErrors();
showPTY();
showECC();
showRadioText();

View File

@@ -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();
}
}
}