Make displayio.Palette support more than 255 colors

Fix #1671
This commit is contained in:
Radomir Dopieralski 2019-03-20 20:36:05 +01:00
parent 9ace50a18a
commit f5cfd6e1f1

View File

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