Skip to content

Commit

Permalink
Merge pull request wled#2584 from tonyn0/master
Browse files Browse the repository at this point in the history
DDP in AP mode.
  • Loading branch information
blazoncek authored Mar 16, 2022
2 parents 522e752 + c525972 commit e4c6e4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wled00/udp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit e4c6e4b

Please sign in to comment.