8000 Merge pull request #1676 from pewpew-game/bug1671 · rhwlo/circuitpython@9f3ca66 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9f3ca66

Browse files
authored
Merge pull request adafruit#1676 from pewpew-game/bug1671
Make displayio.Palette support more than 255 colors
2 parents 8543695 + f5cfd6e commit 9f3ca66

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)
0