Skip to content

Commit 506dca7

Browse files
authored
Merge pull request #8300 from pypewpew/no-logo-fix
Fix displayio when CIRCUITPY_REPL_LOGO is disabled
2 parents babd2de + b93b1d0 commit 506dca7

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

supervisor/shared/display.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,8 @@ void supervisor_start_terminal(uint16_t width_px, uint16_t height_px) {
128128
status_bar->full_change = true;
129129

130130
scroll_area->width_in_tiles = width_in_tiles;
131-
scroll_area->height_in_tiles = height_in_tiles;
132-
#if CIRCUITPY_REPL_LOGO
133-
scroll_area->height_in_tiles -= 1;
134-
#endif
131+
// Leave space for the status bar, no matter if we have logo or not.
132+
scroll_area->height_in_tiles = height_in_tiles - 1;
135133
scroll_area->pixel_width = scroll_area->width_in_tiles * scroll_area->tile_width;
136134
scroll_area->pixel_height = scroll_area->height_in_tiles * scroll_area->tile_height;
137135
// Right align the scroll area to give margin to the start of each line.

tools/ci_set_matrix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def get_settings(board):
195195
# Check supervisor files
196196
# This is useful for limiting workflow changes to the relevant boards
197197
if file.startswith("supervisor"):
198-
if file in settings["SRC_SUPERVISOR"]:
198+
if file in settings.get("SRC_SUPERVISOR", ""):
199199
boards_to_build.add(board)
200200
continue
201201

0 commit comments

Comments
 (0)