aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster
diff options
context:
space:
mode:
authorSelene ToyKeeper2017-08-26 02:46:34 -0600
committerSelene ToyKeeper2017-08-26 02:46:34 -0600
commit2a13e91628ab830aa9ce67ece69a177544085a18 (patch)
tree3a3e32909d3c12056d3d15c84d75ab7e81d345dc /spaghetti-monster
parentAdded DarkHorse, a clone of the ZebraLight UI. (diff)
downloadanduril-2a13e91628ab830aa9ce67ece69a177544085a18.tar.gz
anduril-2a13e91628ab830aa9ce67ece69a177544085a18.tar.bz2
anduril-2a13e91628ab830aa9ce67ece69a177544085a18.zip
Forgot to wrap one line for making thermal regulation optional.
Diffstat (limited to 'spaghetti-monster')
-rw-r--r--spaghetti-monster/darkhorse.c2
1 files changed, 2 insertions, 0 deletions
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); }