Skip to content

Commit 156af59

Browse files
committed
reset display allocation indicator upon board reset
1 parent 412c4bc commit 156af59

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

shared-module/displayio/__init__.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ static void common_hal_displayio_release_displays_impl(bool keep_primary) {
224224
display_buses[i].bus_base.type = &mp_type_NoneType;
225225
#endif
226226
}
227+
max_allocated_display = CIRCUITPY_DISPLAY_LIMIT;
227228

228229
if (!keep_primary) {
229230
supervisor_stop_terminal();

0 commit comments

Comments
 (0)