Change signature of realtimeBoroadcast to match blazoncek

This commit is contained in:
Phil Bolduc 2021-09-20 15:51:12 -07:00
parent 83f4eeb3b5
commit 700f641e29
2 changed files with 2 additions and 2 deletions

View File

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

View File

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