From 3a7c25ceaccaeca36c2ba5db2deba975ec54aa68 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Thu, 28 Sep 2017 16:25:18 -0600 Subject: Rearranged some build options and made sure the build still works if some are turned off. --- spaghetti-monster/fsm-standby.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'spaghetti-monster/fsm-standby.c') 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 -- cgit v1.2.3