mirror of
https://github.com/meshtastic/firmware.git
synced 2026-09-29 09:46:26 -04:00
Allow Left / Right Events for selection and improve encoder responsives (#8016)
* Allow Left / Right Events for selection and improve encoder responsives * add define for ROTARY_DELAY
This commit is contained in:
1 parent
8f0e17a653
commit
89cccdbbe2
4 files changed
+18
-7
No files matched your search
@@ -151,7 +151,7 @@ RotaryEncoderInterruptBaseStateType RotaryEncoderInterruptBase::intHandler(bool
|
||||
// Logic to prevent bouncing.
|
||||
newState = ROTARY_EVENT_CLEARED;
|
||||
}
|
||||
setIntervalFromNow(50); // TODO: this modifies a non-volatile variable!
|
||||
setIntervalFromNow(ROTARY_DELAY); // TODO: this modifies a non-volatile variable!
|
||||
|
||||
return newState;
|
||||
}
|
||||
Reference in new issue
Block a user