aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-standby.c
diff options
context:
space:
mode:
authorSelene ToyKeeper2017-09-28 16:25:18 -0600
committerSelene ToyKeeper2017-09-28 16:25:18 -0600
commit3a7c25ceaccaeca36c2ba5db2deba975ec54aa68 (patch)
tree10e09d95b71bb59a839b50b09e75ddea979605da /spaghetti-monster/fsm-standby.c
parentFixed issue where double-click-from-off followed by double-click-to-true-turb... (diff)
downloadanduril-3a7c25ceaccaeca36c2ba5db2deba975ec54aa68.tar.gz
anduril-3a7c25ceaccaeca36c2ba5db2deba975ec54aa68.tar.bz2
anduril-3a7c25ceaccaeca36c2ba5db2deba975ec54aa68.zip
Rearranged some build options and made sure the build still works if some are turned off.
Diffstat (limited to '')
-rw-r--r--spaghetti-monster/fsm-standby.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/spaghetti-monster/fsm-standby.c b/spaghetti-monster/fsm-standby.c
index 5312f94..5ef666f 100644
--- a/spaghetti-monster/fsm-standby.c
+++ b/spaghetti-monster/fsm-standby.c
@@ -50,8 +50,10 @@ void sleep_until_eswitch_pressed()
// something happened; wake up
sleep_disable();
+ #ifdef USE_THERMAL_REGULATION
// forget what the temperature was last time we were on
reset_thermal_history = 1;
+ #endif
// go back to normal running mode
//PCINT_on(); // should be on already