Skip to content

Commit 565518e

Browse files
committed
Default lvfontio off on SAMD. Fix non-terminalio builds
1 parent 04622e7 commit 565518e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ports/atmel-samd/mpconfigport.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ CIRCUITPY_OPTIMIZE_PROPERTY_FLASH_SIZE ?= 1
1212
CIRCUITPY_LTO = 1
1313

1414
CIRCUITPY_KEYPAD_DEMUX ?= 0
15+
CIRCUITPY_LVFONTIO ?= 0
1516

1617
######################################################################
1718
# Put samd21-only choices here.

supervisor/shared/display.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,12 @@ void supervisor_start_terminal(uint16_t width_px, uint16_t height_px) {
133133
if (supervisor_terminal_started()) {
134134
return;
135135
}
136+
137+
#if CIRCUITPY_TERMINALIO
136138
// Default the scale to 2 because we may show blinka without the terminal for
137139
// languages that don't have font support.
138140
mp_int_t scale = 2;
139141

140-
#if CIRCUITPY_TERMINALIO
141142
displayio_tilegrid_t *scroll_area = &supervisor_terminal_scroll_area_text_grid;
142143
displayio_tilegrid_t *status_bar = &supervisor_terminal_status_bar_text_grid;
143144
bool reset_tiles = false;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy