Send udp data even when no RDS
This commit is contained in:
+5
-3
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user