summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2019-04-04 12:50:35 -0700
committerScott Shawcroft <scott@tannewt.org>2019-04-04 12:50:35 -0700
commit6fcda1dec40efe3513cc5775205d276ea50b4d21 (patch)
tree3901d98ba2a2357015830aa416b63cc8b77772e1 /tools
parent5b0c1c8df9b205221b50c588abf4106dced0ca1c (diff)
Support multi-byte values with Bitmap
It also corrects the behavior of single byte values. Fixes #1744
Diffstat (limited to 'tools')
-rw-r--r--tools/gen_display_resources.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gen_display_resources.py b/tools/gen_display_resources.py
index 82676ef07..ebea9dccc 100644
--- a/tools/gen_display_resources.py
+++ b/tools/gen_display_resources.py
@@ -153,7 +153,7 @@ const displayio_bitmap_t supervisor_terminal_font_bitmap = {{
.base = {{.type = &displayio_bitmap_type }},
.width = {},
.height = {},
- .data = (uint32_t*) font_bitmap_data,
+ .data = (size_t*) font_bitmap_data,
.stride = {},
.bits_per_value = 1,
.x_shift = 5,