From c73033c0b4d3cb92b618999074583b4fe4e73821 Mon Sep 17 00:00:00 2001 From: tonyn0 <59397047+tonyn0@users.noreply.github.com> Date: Wed, 16 Mar 2022 11:00:29 -0500 Subject: [PATCH] udp.cpp update added ap check for ddp in L657 --- wled00/udp.cpp | 2 +- wled00/wled.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wled00/udp.cpp b/wled00/udp.cpp index 87e5177a..02883f3f 100644 --- a/wled00/udp.cpp +++ b/wled00/udp.cpp @@ -654,7 +654,7 @@ void sendSysInfoUDP() uint8_t sequenceNumber = 0; // this needs to be shared across all outputs uint8_t realtimeBroadcast(uint8_t type, IPAddress client, uint16_t length, uint8_t *buffer, uint8_t bri, bool isRGBW) { - if (!interfacesInited || !client[0] || !length) return 1; // network not initialised or dummy/unset IP address + if (!(apActive || interfacesInited) || !client[0] || !length) return 1; // network not initialised or dummy/unset IP address 031522 ajn added check for ap WiFiUDP ddpUdp; diff --git a/wled00/wled.h b/wled00/wled.h index a58c546e..337177a1 100644 --- a/wled00/wled.h +++ b/wled00/wled.h @@ -8,7 +8,7 @@ */ // version code in format yymmddb (b = daily build) -#define VERSION 2203150 +#define VERSION 2203151 //uncomment this if you have a "my_config.h" file you'd like to use //#define WLED_USE_MY_CONFIG