Fix compilation error
libraries/Bounce2/src/Bounce2.h:209:10: error: extra qualification 'Bounce::' on member 'changed' [-fpermissive]
209 | bool Bounce::changed( ) { return getStateFlag(CHANGED_STATE); }
| ^~~~~~
Regression introduced in 01e6fc9398
Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
This commit is contained in:
+1
-1
@@ -206,7 +206,7 @@ class Bounce
|
||||
inline bool getStateFlag(const uint8_t flag) {return((state & flag) != 0);}
|
||||
|
||||
public:
|
||||
bool Bounce::changed( ) { return getStateFlag(CHANGED_STATE); }
|
||||
bool changed( ) { return getStateFlag(CHANGED_STATE); }
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user