encoder icon indicating copy to clipboard operation
encoder copied to clipboard

to use WITHOUT_BUTTON causes compile error

Open mcdonaldajr opened this issue 7 years ago • 2 comments

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

mcdonaldajr avatar Mar 03 '17 16:03 mcdonaldajr

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.

soligen2010 avatar Mar 03 '17 21:03 soligen2010

Thanks. Will do.

On 3 Mar 2017, at 21:49, Dennis [email protected] wrote:

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.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/0xPIT/encoder/issues/16#issuecomment-284079426, or mute the thread https://github.com/notifications/unsubscribe-auth/AD4bH5yDQ74d4NhT0Gub_4Bd0eLpJudDks5riIrUgaJpZM4MScwB.

mcdonaldajr avatar Mar 04 '17 09:03 mcdonaldajr