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.
1 parent 6425a41 commit 6d2d36dCopy full SHA for 6d2d36d
shared-module/displayio/__init__.c
@@ -399,7 +399,7 @@ primary_display_t *allocate_display_or_raise(void) {
399
primary_display_t *allocate_display_bus(void) {
400
for (uint8_t i = 0; i < CIRCUITPY_DISPLAY_LIMIT; i++) {
401
mp_const_obj_t display_bus_type = displays[i].bus_base.type;
402
- if (display_type == NULL || display_type == &mp_type_NoneType) {
+ if (display_bus_type == NULL || display_bus_type == &mp_type_NoneType) {
403
return &displays[i];
404
}
405
0 commit comments