mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-08-24 08:29:05 +00:00
2nd-Level Encoder Debouncing for scrappy encoder dials (#1838)
* Experimental encoder debouncing * Experimental encoder debouncing * Clang * Comment changed
This commit is contained in:
@@ -30,6 +30,7 @@ class Encoder {
|
||||
|
||||
private:
|
||||
uint_fast8_t state{0};
|
||||
int_fast8_t prev_direction{0};
|
||||
};
|
||||
|
||||
#endif /*__ENCODER_H__*/
|
||||
|
||||
Reference in New Issue
Block a user