Skip to content
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

allocate_display_bus: fix bug where in-use bus would be returned #3292

Merged
merged 3 commits into from Aug 21, 2020

Conversation

jepler
Copy link
Member

@jepler jepler commented Aug 17, 2020

When I factored out "allocate_display_bus" I introduced a bug where the code checked if the display was allocated, not the bus. Correct the in-use check.

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.

One rename request to make things clearer. Thanks!

shared-module/displayio/__init__.c Outdated Show resolved Hide resolved
jepler and others added 2 commits August 17, 2020 21:07
@jepler
Copy link
Member Author

jepler commented Aug 18, 2020

oh github! You create such an opportunity for mirth! Scott's suggested change had two parts; after accepting one, the code would be broken. But at that point the second suggestion was no longer able to be accepted in the web UI. I did it by hand, hopefully it's right now.

@jepler jepler requested a review from tannewt August 18, 2020 02:11
@jepler jepler dismissed tannewt’s stale review August 21, 2020 00:13

Requested changes have been made

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.

Thank you!

@tannewt tannewt merged commit 5771be9 into adafruit:main Aug 21, 2020
@jepler jepler deleted the allocate_display_bus_bug 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.

None yet

2 participants