Skip to content

Commit

Permalink
fix explicit warning again., changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
mathertel committed Aug 1, 2024
1 parent 688f0ac commit 44da41f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

All notable changes to this project will be documented in this file starting 2021.

## [2.6.0] - 2024-08-01

* The new `setup(...)` function allows deferred initialisation.
* The SimpleOneButton.ino includes a configuration for the Arduino Nano ESP32
* Supporting a new press event.
* using `bool` instead of `boolean` that is a deprecated type by Arduino.
* changes in debouncing.
* standard Arduino style .clang formatting in changed files.

## [2.5.0] - 2023-12-02

This release is a minor update including som smaller fixes.
Expand Down
2 changes: 1 addition & 1 deletion src/OneButton.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class OneButton {
* @param activeLow Set to true when the input level is LOW when the button is pressed, Default is true.
* @param pullupActive Activate the internal pullup when available. Default is true.
*/
OneButton(const int pin, const bool activeLow = true, const bool pullupActive = true);
explicit OneButton(const int pin, const bool activeLow = true, const bool pullupActive = true);

// ----- Set runtime parameters -----

Expand Down

0 comments on commit 44da41f

Please sign in to comment.