Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 21, 2020

Conversation

jepler
Copy link

@jepler jepler commented Apr 21, 2020

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
Copy link
Member

@tannewt tannewt left a comment

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