Merge pull request #90 from WAMaker/fix/typo

fix typo
This commit was merged in pull request #90.
This commit is contained in:
Thomas O Fredericks
2022-09-16 10:31:33 -04:00
committed by GitHub
+2 -2
View File
@@ -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;}