From fbc64d146a95931080bb9d6bb3b5a0663ab3bf59 Mon Sep 17 00:00:00 2001 From: Matthias Hertel Date: Sun, 31 Jan 2021 16:44:38 +0100 Subject: [PATCH] version 2.0.1, compiler warning, docu --- CHANGELOG.md | 5 +++++ library.properties | 2 +- src/OneButton.cpp | 4 ++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4da4241..a28b5ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ All notable changes to this project will be documented in this file starting 2021. +## [2.0.1] - 2021-01-31 + +* Compiler warning removed +* Documentation + ## [2.0.0] - 2021-01-22 * CHANGELOG created. diff --git a/library.properties b/library.properties index eca4f30..0fe17a6 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=OneButton -version=2.0.0 +version=2.0.1 author=Matthias Hertel, mathertel@hotmail.com maintainer=Matthias Hertel sentence=Arduino library for improving the usage of a singe input button. diff --git a/src/OneButton.cpp b/src/OneButton.cpp index d6e0aff..229eab7 100644 --- a/src/OneButton.cpp +++ b/src/OneButton.cpp @@ -320,6 +320,10 @@ void OneButton::tick(bool activeLevel) reset(); } break; + + default: + // nothing to do. + break; } // if } // OneButton.tick()