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

fix Adafruit_GFX override setRotation #543

Merged
merged 1 commit into from
Dec 16, 2023

Conversation

Lukaswnd
Copy link
Contributor

The Adafruit_GFX uses setRotation(uint8_t), while the virtual matrix display uses setRotation(int). Therefore there is no implicit override and if you call the function either with an uint8_t or from an Adafruit_GFX* the overloaded funtion is not called.

The Adafruit_GFX uses setRotation(uint8_t), while the virtual matrix display uses setRotation(int). Therefore there is no implicit override and if you call the function either with an uint8_t or from an Adafruit_GFX* the overloaded funtion is not called
@mrcodetastic
Copy link
Owner

This has to be the most inadvertent and obscure bug I've created. Thanks for fixing.

@mrcodetastic mrcodetastic merged commit 61960e1 into mrcodetastic:master Dec 16, 2023
6 checks passed
@Lukaswnd
Copy link
Contributor Author

Well I hope all of your bugs are inadvertent, obscure or fixed ;)
I'm glad I could help

@mrcodetastic
Copy link
Owner

Appreciate it greatly! Merry Christmas!

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.

2 participants