diff --git a/wled00/FX.h b/wled00/FX.h index 167ed8f0f0..e76a140a4b 100644 --- a/wled00/FX.h +++ b/wled00/FX.h @@ -855,8 +855,8 @@ class WS2812FX { // 96 bytes typedef struct panel_t { uint16_t xOffset; // x offset relative to the top left of matrix in LEDs uint16_t yOffset; // y offset relative to the top left of matrix in LEDs - uint8_t width; // width of the panel - uint8_t height; // height of the panel + uint16_t width; // width of the panel + uint16_t height; // height of the panel union { uint8_t options; struct { diff --git a/wled00/const.h b/wled00/const.h index 388b64c820..db2f87b4cc 100644 --- a/wled00/const.h +++ b/wled00/const.h @@ -401,7 +401,7 @@ #endif #ifndef MAX_LEDS_PER_BUS -#define MAX_LEDS_PER_BUS 2048 // may not be enough for fast LEDs (i.e. APA102) +#define MAX_LEDS_PER_BUS 4096 // may not be enough for fast LEDs (i.e. APA102) #endif // string temp buffer (now stored in stack locally)