From 2a13e91628ab830aa9ce67ece69a177544085a18 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Sat, 26 Aug 2017 02:46:34 -0600 Subject: Forgot to wrap one line for making thermal regulation optional. --- spaghetti-monster/darkhorse.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spaghetti-monster/darkhorse.c b/spaghetti-monster/darkhorse.c index b77f541..2bfa2e9 100644 --- a/spaghetti-monster/darkhorse.c +++ b/spaghetti-monster/darkhorse.c @@ -68,7 +68,9 @@ void set_any_mode(uint8_t primary, uint8_t secondary, uint8_t *modes) { else { set_level(modes[secondary]); } + #ifdef USE_THERMAL_REGULATION target_level = actual_level; + #endif } inline void set_low_mode() { set_any_mode(L1, L2, low_modes); } -- cgit v1.2.3