Made changed() public instead of protected

This commit is contained in:
Thomas O Fredericks
2019-10-06 13:01:12 -04:00
parent 01e6fc9398
commit 220a287467
+1 -1
View File
@@ -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); }
};