We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
display=None
1 parent 0f12a36 commit 4cd27e7Copy full SHA for 4cd27e7
src/code.py
@@ -61,7 +61,6 @@
61
"arrow": os.getenv("FRUIT_JAM_OS_ARROW"),
62
}
63
64
-display = supervisor.runtime.display
65
if (width_config := os.getenv("CIRCUITPY_DISPLAY_WIDTH")) is not None:
66
if width_config not in [x[0] for x in VALID_DISPLAY_SIZES]:
67
raise ValueError(f"Invalid display size. Must be one of: {VALID_DISPLAY_SIZES}")
@@ -71,6 +70,7 @@
71
70
else:
72
display_size = (720, 400)
73
request_display_config(*display_size)
+display = supervisor.runtime.display
74
75
scale = 1
76
if display.width > 360:
0 commit comments