diff options
| author | Selene ToyKeeper | 2017-08-26 02:46:34 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2017-08-26 02:46:34 -0600 |
| commit | 2a13e91628ab830aa9ce67ece69a177544085a18 (patch) | |
| tree | 3a3e32909d3c12056d3d15c84d75ab7e81d345dc | |
| parent | Added DarkHorse, a clone of the ZebraLight UI. (diff) | |
| download | anduril-2a13e91628ab830aa9ce67ece69a177544085a18.tar.gz anduril-2a13e91628ab830aa9ce67ece69a177544085a18.tar.bz2 anduril-2a13e91628ab830aa9ce67ece69a177544085a18.zip | |
Forgot to wrap one line for making thermal regulation optional.
| -rw-r--r-- | spaghetti-monster/darkhorse.c | 2 |
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); } |
