From 8d8e9df4331f48fba51eb5f169ac904fba42cc9d Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Thu, 28 Sep 2017 16:12:57 -0600 Subject: Fixed issue where double-click-from-off followed by double-click-to-true-turbo would overwrite memory with the ceiling level. --- spaghetti-monster/anduril/anduril.c | 1 - 1 file changed, 1 deletion(-) diff --git a/spaghetti-monster/anduril/anduril.c b/spaghetti-monster/anduril/anduril.c index a47e284..ab7d16d 100644 --- a/spaghetti-monster/anduril/anduril.c +++ b/spaghetti-monster/anduril/anduril.c @@ -249,7 +249,6 @@ uint8_t steady_state(EventPtr event, uint16_t arg) { // 2 clicks: go to/from highest level else if (event == EV_2clicks) { if (actual_level < MAX_LEVEL) { - memorized_level = actual_level; // in case we're on moon #ifdef USE_THERMAL_REGULATION target_level = MAX_LEVEL; #endif -- cgit v1.2.3