mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-01 20:39:08 +00:00
Revert "Additional debounce control parameters for rotary encoder settings (f…" (#2846)
This reverts commit bf18851b6b.
This commit is contained in:
@@ -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__*/
|
||||
|
||||
Reference in New Issue
Block a user