We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ZUNO_GFX::drawPixel uses 8 bits to represent the offset in the pixel array, so it will overflow for any but the smallest displays:
https://github.com/Z-Wave-Me/Z-Uno-G2-Core/blob/d25fc71f97bf91d1bd268c386150adbd4a60b3b1/hardware/arduino/zunoG2/libraries/ZUNO_GFX/ZUNO_GFX.cpp#L37C44-L37C44
Replacing uint8_t with uint16_t fixes the issue.
The text was updated successfully, but these errors were encountered:
p0lyg0n1
No branches or pull requests
ZUNO_GFX::drawPixel uses 8 bits to represent the offset in the pixel array, so it will overflow for any but the smallest displays:
https://github.com/Z-Wave-Me/Z-Uno-G2-Core/blob/d25fc71f97bf91d1bd268c386150adbd4a60b3b1/hardware/arduino/zunoG2/libraries/ZUNO_GFX/ZUNO_GFX.cpp#L37C44-L37C44
Replacing uint8_t with uint16_t fixes the issue.
The text was updated successfully, but these errors were encountered: