diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2019-03-20 14:13:18 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-20 14:13:18 -0700 |
| commit | 9f3ca66f97aa51eef295903e68b22a260a82a08d (patch) | |
| tree | 1eda14916b35e9e078a19af25acc1b9c044c1624 /shared-module/displayio | |
| parent | 8543695f9d6117d758d0cece4a921ce9396d3948 (diff) | |
| parent | f5cfd6e1f129645cee8c6868182a9060acf839cc (diff) | |
Merge pull request #1676 from pewpew-game/bug1671
Make displayio.Palette support more than 255 colors
Diffstat (limited to 'shared-module/displayio')
| -rw-r--r-- | shared-module/displayio/Palette.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-module/displayio/Palette.h b/shared-module/displayio/Palette.h index 5a5f1d287..3813e8bdd 100644 --- a/shared-module/displayio/Palette.h +++ b/shared-module/displayio/Palette.h @@ -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; |
