Merge pull request #1676 from pewpew-game/bug1671

Make displayio.Palette support more than 255 colors
This commit is contained in:
Scott Shawcroft 2019-03-20 14:13:18 -07:00 committed by GitHub
commit 9f3ca66f97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ typedef struct {
mp_obj_base_t base; mp_obj_base_t base;
uint32_t* opaque; uint32_t* opaque;
uint32_t* colors; uint32_t* colors;
uint8_t color_count; uint32_t color_count;
bool needs_refresh; bool needs_refresh;
} displayio_palette_t; } displayio_palette_t;