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

In Adafruit_GFX.cpp, variables currstate and laststate are not initialized #401

Open
mitchb1 opened this issue Sep 6, 2022 · 0 comments

Comments

@mitchb1
Copy link

mitchb1 commented Sep 6, 2022

  • Arduino board: Mega2560

  • Arduino IDE version (found in Arduino -> About Arduino menu): CLion/PlatformIO

  • List the steps to reproduce the problem below (if possible attach a sketch or
    copy the sketch code in too):

In Adafruit_GFX.cpp, variables currstate and laststate are not initialized. This can cause incorrect results from functions justPressed and justReleased.

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

No branches or pull requests

1 participant