Send udp data even when no RDS

This commit is contained in:
Sjef Verhoeven PE5PVB
2025-01-28 22:47:11 +01:00
parent 6852e91416
commit 9709830da6
+5 -3
View File
@@ -943,13 +943,15 @@ void setup() {
} }
void loop() { void loop() {
if (wifi) webserver.handleClient(); if (wifi) {
if (wifi && radio.rds.correctPI != 0) sendUDPlog(); webserver.handleClient();
sendUDPlog();
if (wifi && millis() >= NTPtimer + 1800000) { if (millis() >= NTPtimer + 1800000) {
NTPupdate(); NTPupdate();
NTPtimer = millis(); NTPtimer = millis();
} }
}
if (hardwaremodel == PORTABLE_TOUCH_ILI9341 && touch_detect) { if (hardwaremodel == PORTABLE_TOUCH_ILI9341 && touch_detect) {
if (tft.getTouchRawZ() > 100) { // Check if the touch is active if (tft.getTouchRawZ() > 100) { // Check if the touch is active