diff options
| author | Selene ToyKeeper | 2021-04-13 02:44:56 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2021-04-13 02:44:56 -0600 |
| commit | 16df5326767123a70fdd77892fbfc603f8180523 (patch) | |
| tree | bbc9d3df42e9d8b366fefea45ad15700c001153e | |
| parent | fixed wrong word in manual (turbo is in full UI only) (diff) | |
| download | anduril-16df5326767123a70fdd77892fbfc603f8180523.tar.gz anduril-16df5326767123a70fdd77892fbfc603f8180523.tar.bz2 anduril-16df5326767123a70fdd77892fbfc603f8180523.zip | |
fixed missing ifdef for simple UI
Diffstat (limited to '')
| -rw-r--r-- | spaghetti-monster/anduril/off-mode.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/spaghetti-monster/anduril/off-mode.c b/spaghetti-monster/anduril/off-mode.c index 34d9e6d..e37f08d 100644 --- a/spaghetti-monster/anduril/off-mode.c +++ b/spaghetti-monster/anduril/off-mode.c @@ -157,9 +157,12 @@ uint8_t off_state(Event event, uint16_t arg) { } // click, hold: momentary at ceiling or turbo else if (event == EV_click2_hold) { + #ifdef USE_SIMPLE_UI if (simple_ui_active) { set_level(nearest_level(MAX_LEVEL)); - } else { + } else + #endif + { set_level(MAX_LEVEL); } return MISCHIEF_MANAGED; |
