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

to use WITHOUT_BUTTON causes compile error #16

Open
mcdonaldajr opened this issue Mar 3, 2017 · 2 comments
Open

to use WITHOUT_BUTTON causes compile error #16

mcdonaldajr opened this issue Mar 3, 2017 · 2 comments

Comments

@mcdonaldajr
Copy link

when defining WITHOUT_BUTTON I got a compile error, bool accelerationEnabled undefined.
Looking at the code, the #endif included the declaration of accelerationEnabled;
by moving the #endif up one line, this fixed the problem.

#ifndef WITHOUT_BUTTON
volatile Button button;
bool doubleClickEnabled;
#endif
bool accelerationEnabled;
//#endif -- the was in the wrong place

@soligen2010
Copy link

You must have a very old version as this was fixed over a year ago. You might want to check out the soligen2010 fork as it has other bug fixes and enhancements added to it as well.

@mcdonaldajr
Copy link
Author

mcdonaldajr commented Mar 4, 2017 via email

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

2 participants