Merge pull request #263 from andimik/main

Missing sender for AF and ECC udp packets for Stationlist
This commit is contained in:
Sjef Verhoeven PE5PVB
2023-08-28 14:56:15 +02:00
committed by GitHub
+2 -2
View File
@@ -277,7 +277,7 @@ void doAF() {
if (radio.af_counter != af_counterold && radio.rds.hasAF == true) {
if (wifi) {
Udp.beginPacket(remoteip, 9030);
Udp.print("AF=");
Udp.print("from=TEF_tuner " + String(stationlistid, DEC) + ";AF=");
for (byte af_scan = 0; af_scan < radio.af_counter; af_scan++) {
if (wifi) {
@@ -570,7 +570,7 @@ void showECC() {
if (wifi) {
Udp.beginPacket(remoteip, 9030);
Udp.print("ECC=");
Udp.print("from=TEF_tuner " + String(stationlistid, DEC) + ";ECC=");
if (radio.rds.ECC < 0x10) Udp.print("0");
Udp.print(String(radio.rds.ECC, HEX));
Udp.endPacket();