summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2020-09-01 10:29:10 -0500
committerJeff Epler <jepler@gmail.com>2020-09-01 10:55:45 -0500
commit9bd2a61d8b2ba56cef241f3b93aed50e718998b5 (patch)
tree4598f19c248f188d52e233daa11bd3b2b8139549 /lib
parent952d9bbb4a99cc598b56e170cdc05d94087d0d6d (diff)
supervisor: Always allocate at least a 1x1 terminal
Otherwise, out of range writes would occur in tilegrid_set_tile, causing a safe mode reset. ``` Hardware watchpoint 6: -location *stack_alloc->ptr Old value = 24652061 New value = 24641565 0x000444f2 in common_hal_displayio_tilegrid_set_tile (self=0x200002c8 <supervisor_terminal_text_grid>, x=1, y=1, tile_index=0 '\000') at ../../shared-module/displayio/TileGrid.c:236 236 if (!self->partial_change) { (gdb) ```
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions