mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-12-01 00:46:47 -05:00
Revert "Additional debounce control parameters for rotary encoder settings (f…" (#2846)
This reverts commit bf18851b6b.
This commit is contained in:
parent
3b57672dda
commit
0f9d9e589d
8 changed files with 64 additions and 144 deletions
|
|
@ -32,8 +32,6 @@ class Encoder {
|
|||
private:
|
||||
uint_fast8_t state{0};
|
||||
int_fast8_t prev_direction{0};
|
||||
uint8_t direction_stability_count{0}; // count consecutive same-direction changes
|
||||
uint8_t direction_cooldown{0}; // prevent rapid direction reversals
|
||||
};
|
||||
|
||||
#endif /*__ENCODER_H__*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue