Skip to content

Commit 6425a41

Browse files
jeplertannewt
andauthored
Update shared-module/displayio/__init__.c
Co-authored-by: Scott Shawcroft <[email protected]>
1 parent 1ccd2e2 commit 6425a41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-module/displayio/__init__.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ primary_display_t *allocate_display_or_raise(void) {
398398
}
399399
primary_display_t *allocate_display_bus(void) {
400400
for (uint8_t i = 0; i < CIRCUITPY_DISPLAY_LIMIT; i++) {
401-
mp_const_obj_t display_type = displays[i].bus_base.type;
401+
mp_const_obj_t display_bus_type = displays[i].bus_base.type;
402402
if (display_type == NULL || display_type == &mp_type_NoneType) {
403403
return &displays[i];
404404
}

0 commit comments

Comments
 (0)