avdwebLibraries / avdweb_Switch

Switch library with longPress and doubleClick
http://www.avdweb.nl/arduino/hardware-interfacing/simple-switch-debouncer.html
GNU General Public License v3.0
45 stars 16 forks source link

errors when compiling #14

Closed gore80 closed 2 months ago

gore80 commented 3 years ago

error: 'constexpr' needed for in-class initialization of static data member 'void* Switch::_beepAllCallbackParam' of non-integral type [-fpermissive]

static void* _beepAllCallbackParam = nullptr; // can be used by all objects

avandalen commented 3 years ago

I have no time to look into this, sorry

Martin-Laclaustra commented 3 years ago

@avandalen Dear Albert, if you enable me as collaborator again I could keep an eye on the library. Best.

avandalen commented 3 years ago

Hi Martin Yes, that would be nice, I have add you Thank you

nomakewan commented 3 months ago

Just as a note, this issue should be closed as the library now compiles just fine on the Generic ESP8266 Module.

boseji commented 2 months ago

This is also fixed in the latest release. Kindly update to the latest version of the library.