-
Notifications
You must be signed in to change notification settings - Fork 35
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
TM16xxDisplay.cpp bug #43
Comments
Fixed issue #43 in TM16xxDisplay.cpp TM16XX_OPT_COMBIDISPLAY was used incorrectly (incorrect code when TM16XX_OPT_COMBIDISPLAY=0)
Hi @cNavsky, thank you for your attention to find this bug and for your notification! Your contribution is much appreciated as I didn't catch this bug. Probably the bug would prevent compilation when the option was set to zero, so I'm happy to fix it. For readers: The option is there to reduce the code when using a small MCU. |
#if(TM16XX_OPT_COMBIDISPLAY) condition reversed in functions:
M16xxDisplay::setIntensity (line105), and
TM16xxDisplay::clear (line 203).
i.e. it refer to _aModules[I] when TM16XX_OPT_COMBIDISPLAY set to 0
The text was updated successfully, but these errors were encountered: