mathertel / OneButton

An Arduino library for using a single button for multiple purpose input.
http://www.mathertel.de/Arduino/OneButtonLibrary.aspx
Other
954 stars 230 forks source link

Arduino Library Manager doesn't download latest version #127

Closed noiasca closed 10 months ago

noiasca commented 1 year ago

Arduino 1.8.19 Library Manager download of Version 2.1.0 doesn't correspond to Github 2.1.0 version. For example

void setLongPressIntervalMs(const unsigned int ms) { _long_press_interval_ms = ms; };

in Onebutton.h and the example LongPressEvents is missing when downloaded to local library folder.

Furthermore in keywords.txt the setLongPressIntervalMs is missing as keyword (even on the repository).

IhorNehrutsa commented 1 year ago

This was caused by editing the library.json after the tag 2.1.0 image

mathertel commented 10 months ago

Version 2.5.0 should fix this and platform.io version is in sync.