Merge pull request #2584 from tonyn0/master

DDP in AP mode.
pull/2585/head
Blaž Kristan 2022-03-16 17:31:09 +01:00 zatwierdzone przez GitHub
commit e4c6e4bc48
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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;