chore: fix typo

This commit is contained in:
WAMaker
2022-09-14 23:16:39 +08:00
parent 152a64231a
commit d744e0690f
+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;}