Skip to content

Commit f5cfd6e

Browse files
committed
Make displayio.Palette support more than 255 colors
Fix #1671
1 parent 9ace50a commit f5cfd6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-module/displayio/Palette.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ typedef struct {
3636
mp_obj_base_t base;
3737
uint32_t* opaque;
3838
uint32_t* colors;
39-
uint8_t color_count;
39+
uint32_t color_count;
4040
bool needs_refresh;
4141
} displayio_palette_t;
4242

0 commit comments

Comments
 (0)