Made changed() public instead of protected
This commit is contained in:
+1
-1
@@ -195,7 +195,7 @@ class Bounce
|
||||
inline void toggleStateFlag(const uint8_t flag) {state ^= flag;}
|
||||
inline bool getStateFlag(const uint8_t flag) {return((state & flag) != 0);}
|
||||
|
||||
protected:
|
||||
public:
|
||||
bool Bounce::changed( ) { return getStateFlag(CHANGED_STATE); }
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user