diff options
| author | Selene ToyKeeper | 2023-11-07 13:58:05 -0700 |
|---|---|---|
| committer | Selene ToyKeeper | 2023-11-07 13:58:05 -0700 |
| commit | 72c972b0c576642d3b20912868ff2919cf0baaac (patch) | |
| tree | 4f756c0331d7622d8380ddc802e154ccad9780c1 /ui | |
| parent | fail pull requests if author accidentally committed a new version.h (diff) | |
| parent | shortened unnecessarily long explanation (diff) | |
| download | anduril-72c972b0c576642d3b20912868ff2919cf0baaac.tar.gz anduril-72c972b0c576642d3b20912868ff2919cf0baaac.tar.bz2 anduril-72c972b0c576642d3b20912868ff2919cf0baaac.zip | |
Merge branch 'pr-16-SammysHP-momentary-turbo' into trunk
Super simple, easy method for allowing turbo in Momentary Mode.
* pr-16-SammysHP-momentary-turbo:
shortened unnecessarily long explanation
Allow turbo in momentary mode
Diffstat (limited to 'ui')
| -rw-r--r-- | ui/anduril/ramp-mode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/anduril/ramp-mode.c b/ui/anduril/ramp-mode.c index 5ce1b54..9e19025 100644 --- a/ui/anduril/ramp-mode.c +++ b/ui/anduril/ramp-mode.c @@ -468,6 +468,7 @@ uint8_t steady_state(Event event, uint16_t arg) { #ifdef USE_MOMENTARY_MODE // 5 clicks: shortcut to momentary mode else if (event == EV_5clicks) { + memorized_level = actual_level; // allow turbo in momentary mode set_level(0); set_state(momentary_state, 0); return EVENT_HANDLED; |
