bugfix: allow udp realtime mode 5 (dnrgbw)

previous condition would prevent the existing handler from actually executing
This commit is contained in:
Frank
2025-12-22 01:07:42 +01:00
parent cb94cfafae
commit f510bb075c

View File

@@ -609,8 +609,8 @@ void handleNotifications()
return;
}
//UDP realtime: 1 warls 2 drgb 3 drgbw
if (udpIn[0] > 0 && udpIn[0] < 5)
//UDP realtime: 1 warls 2 drgb 3 drgbw 4 dnrgb 5 dnrgbw
if (udpIn[0] > 0 && udpIn[0] < 6)
{
realtimeIP = (isSupp) ? notifier2Udp.remoteIP() : notifierUdp.remoteIP();
DEBUG_PRINTLN(realtimeIP);