aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster
diff options
context:
space:
mode:
authorSelene ToyKeeper2017-09-28 16:12:57 -0600
committerSelene ToyKeeper2017-09-28 16:12:57 -0600
commit8d8e9df4331f48fba51eb5f169ac904fba42cc9d (patch)
treef880d959fd784986da00007b9f0aad065ccadcfb /spaghetti-monster
parentFleshed out options to blink at floor, ceiling, and channel boundaries. (diff)
downloadanduril-8d8e9df4331f48fba51eb5f169ac904fba42cc9d.tar.gz
anduril-8d8e9df4331f48fba51eb5f169ac904fba42cc9d.tar.bz2
anduril-8d8e9df4331f48fba51eb5f169ac904fba42cc9d.zip
Fixed issue where double-click-from-off followed by double-click-to-true-turbo would overwrite memory with the ceiling level.
Diffstat (limited to '')
-rw-r--r--spaghetti-monster/anduril/anduril.c1
1 files changed, 0 insertions, 1 deletions
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