Skip to content

Commit 20a8cfe

Browse files
committed
Allow the framebuffer size of an rgbmatrix to be >65535 bytes
1 parent b31806f commit 20a8cfe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

shared-module/rgbmatrix/RGBMatrix.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ typedef struct {
3838
supervisor_allocation *allocation;
3939
Protomatter_core protomatter;
4040
void *timer;
41-
uint16_t bufsize, width;
41+
uint32_t bufsize;
42+
uint16_t width;
4243
uint8_t rgb_pins[30];
4344
uint8_t addr_pins[10];
4445
uint8_t clock_pin, latch_pin, oe_pin;

0 commit comments

Comments
 (0)