From b73a25738992aef3d9b885675b2548764e2e66f4 Mon Sep 17 00:00:00 2001 From: cschwinne Date: Tue, 12 Feb 2019 11:03:54 +0100 Subject: [PATCH] Fixed broadcast IP compilation issue --- wled00/wled00.ino | 2 +- wled00/wled07_notify.ino | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wled00/wled00.ino b/wled00/wled00.ino index d1126260c..c9f3aaab7 100644 --- a/wled00/wled00.ino +++ b/wled00/wled00.ino @@ -78,7 +78,7 @@ //version code in format yymmddb (b = daily build) -#define VERSION 1902112 +#define VERSION 1902121 char versionString[] = "0.8.3"; diff --git a/wled00/wled07_notify.ino b/wled00/wled07_notify.ino index 3150cebdd..9008cbe86 100644 --- a/wled00/wled07_notify.ino +++ b/wled00/wled07_notify.ino @@ -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);