evert-arias / EasyButton

Arduino library for debouncing momentary contact switches, detect press, release, long press and sequences with event definitions and callbacks.
https://easybtn.earias.me
MIT License
452 stars 63 forks source link

Minor Fix: #define Easybutton function support for ESP32 too not only ESP8266 #56

Closed nebomuk closed 2 years ago

nebomuk commented 3 years ago

In class EasyButtonBase.h the macro should not only enable functional support for the ESP8266 but also for the ESP32.

The#ifdef ESP8266 should become #if defined(ESP8266) || defined(ESP32).

ingoha commented 2 years ago

+1