diff --git a/wled00/udp.cpp b/wled00/udp.cpp index 9eef4e6f7..2900d031b 100644 --- a/wled00/udp.cpp +++ b/wled00/udp.cpp @@ -567,7 +567,7 @@ uint8_t* copyRgbwToRgb(uint8_t *destination, uint8_t *source, uint16_t length) { // buffer - a buffer of at least length*4 bytes long // isRGBW - true if the buffer contains 4 components per pixel // -void realtimeBrodacast(IPAddress client, uint8_t *buffer, uint16_t length, bool isRGBW) { +void realtimeBoroadcast(IPAddress client, uint16_t length, uint8_t *buffer, bool isRGBW) { WiFiUDP ddpUdp; diff --git a/wled00/udp.h b/wled00/udp.h index 7f23d57fe..cc1462033 100644 --- a/wled00/udp.h +++ b/wled00/udp.h @@ -29,7 +29,7 @@ void sendSysInfoUDP(); // buffer - a buffer of at least length*3 or length*4 bytes long // length - the number of pixels // isRGBW - true if the buffer contains 4 components per pixel -void realtimeBrodacast(IPAddress client, uint8_t *buffer, uint16_t length, bool isRGBW); +void realtimeBoroadcast(IPAddress client, uint16_t length, uint8_t *buffer, bool isRGBW); #define DDP_PORT 4048