From d744e0690f5b5d403f2847014fa1b16c72da9970 Mon Sep 17 00:00:00 2001 From: WAMaker Date: Wed, 14 Sep 2022 23:16:39 +0800 Subject: [PATCH] chore: fix typo --- src/Bounce2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Bounce2.h b/src/Bounce2.h index 7dea71e..64e4633 100644 --- a/src/Bounce2.h +++ b/src/Bounce2.h @@ -61,13 +61,13 @@ */ class Debouncer { - // Note : this is private as it migh change in the futur + // Note : this is private as it migh change in the future private: static const uint8_t DEBOUNCED_STATE = 0b00000001; // Final returned calculated debounced state static const uint8_t UNSTABLE_STATE = 0b00000010; // Actual last state value behind the scene static const uint8_t CHANGED_STATE = 0b00000100; // The DEBOUNCED_STATE has changed since last update() -// Note : this is private as it migh change in the futur +// Note : this is private as it migh change in the future private: inline void changeState(); inline void setStateFlag(const uint8_t flag) {state |= flag;} -- 2.54.0