Fixed broadcast IP compilation issue
This commit is contained in:
parent
9caca37ab1
commit
b73a257389
@ -78,7 +78,7 @@
|
||||
|
||||
|
||||
//version code in format yymmddb (b = daily build)
|
||||
#define VERSION 1902112
|
||||
#define VERSION 1902121
|
||||
char versionString[] = "0.8.3";
|
||||
|
||||
|
||||
|
@ -45,7 +45,7 @@ void notify(byte callMode, bool followUp=false)
|
||||
udpOut[19] = effectPalette;
|
||||
|
||||
IPAddress broadcastIp;
|
||||
broadcastIp = ~WiFi.subnetMask() | WiFi.gatewayIP();
|
||||
broadcastIp = ~uint32_t(WiFi.subnetMask()) | uint32_t(WiFi.gatewayIP());
|
||||
|
||||
notifierUdp.beginPacket(broadcastIp, udpPort);
|
||||
notifierUdp.write(udpOut, WLEDPACKETSIZE);
|
||||
|
Loading…
Reference in New Issue
Block a user