mirror of
https://github.com/wled/WLED.git
synced 2025-07-19 16:56:35 +00:00
Change signature of realtimeBoroadcast to match blazoncek
This commit is contained in:
parent
83f4eeb3b5
commit
700f641e29
@ -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
|
// buffer - a buffer of at least length*4 bytes long
|
||||||
// isRGBW - true if the buffer contains 4 components per pixel
|
// 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;
|
WiFiUDP ddpUdp;
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ void sendSysInfoUDP();
|
|||||||
// buffer - a buffer of at least length*3 or length*4 bytes long
|
// buffer - a buffer of at least length*3 or length*4 bytes long
|
||||||
// length - the number of pixels
|
// length - the number of pixels
|
||||||
// isRGBW - true if the buffer contains 4 components per pixel
|
// 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
|
#define DDP_PORT 4048
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user