Skip to content

displayio: Fix "bus type" problem introduced at 8cba145c9029#2797

Merged
tannewt merged 1 commit into
adafruit:masterfrom
jepler:fix-2792
Apr 21, 2020
Merged

displayio: Fix "bus type" problem introduced at 8cba145c9029#2797
tannewt merged 1 commit into
adafruit:masterfrom
jepler:fix-2792

Conversation

@jepler

@jepler jepler commented Apr 21, 2020

Copy link
Copy Markdown

When allocate_display_bus_or_raise was factored out, the assignment of the bus's Python type was lost. Restore it.

This would have affected displays of any type other than RGBMatrix, when they were created dynamically. Boards with displays configured in flash were unaffected.

Testing performed: ran the code from https://forums.adafruit.com/viewtopic.php?f=60&t=164561 on a Metro M4 Express (no display attached)

Closes: #2792

When allocate_display_bus_or_raise was factored out, the assignment
of the bus's Python type was lost.  Restore it.

This would have affected displays of any type other than RGBMatrix, when
they were created dynamically.  Boards with displays configured in flash
were unaffected.

Closes: adafruit#2792
@jepler jepler requested a review from tannewt April 21, 2020 18:49

@tannewt tannewt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix @jepler !

@tannewt tannewt merged commit 51dbe91 into adafruit:master Apr 21, 2020
@jepler jepler deleted the fix-2792 branch November 3, 2021 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hard Crash - Feather m4 Express build on WSL1

2 participants