fix typo #90
+2
-2
@@ -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;}
|
||||
|
||||
Reference in New Issue
Block a user