diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2019-01-23 14:44:46 -0800 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2019-01-23 14:44:46 -0800 |
| commit | b2f2abcb228be2bb4601a1373a307d98483ec274 (patch) | |
| tree | 8efaddb56d5ff95c4cca0e9e9b1692d2683b1cfa /shared-module/displayio/__init__.c | |
| parent | 3139d0dc20cf55565ea6654e8e9ef4a78363ff21 (diff) | |
Make palette color ordering consistent with ColorConvertes and fix blinka.
Diffstat (limited to 'shared-module/displayio/__init__.c')
| -rw-r--r-- | shared-module/displayio/__init__.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared-module/displayio/__init__.c b/shared-module/displayio/__init__.c index 59a5cf398..c86e48a12 100644 --- a/shared-module/displayio/__init__.c +++ b/shared-module/displayio/__init__.c @@ -99,8 +99,8 @@ displayio_bitmap_t blinka_bitmap = { uint32_t blinka_transparency[1] = {0x80000000}; -// TODO(tannewt): Fix these colors -uint32_t blinka_colors[8] = {0x91780000, 0x879FFC98, 0xffff0000, 0x0000f501, +// These colors are RGB 565 with the bytes swapped. +uint32_t blinka_colors[8] = {0x78890000, 0x9F86B8FC, 0xffff0D5A, 0x0000f501, 0x00000000, 0x00000000, 0x00000000, 0x00000000}; displayio_palette_t blinka_palette = { |
