diff options
| author | Selene ToyKeeper | 2020-07-31 20:13:42 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2020-07-31 20:13:42 -0600 |
| commit | 41d2a02a8c1b41a118e24058e4ee5fd36a171e57 (patch) | |
| tree | e65420ce7bd5bbeb6d73f256214c1cc4c607e6c6 /spaghetti-monster/fsm-ramping.c | |
| parent | added auto-lock function, mostly contributed by SammysHP (diff) | |
| download | anduril-41d2a02a8c1b41a118e24058e4ee5fd36a171e57.tar.gz anduril-41d2a02a8c1b41a118e24058e4ee5fd36a171e57.tar.bz2 anduril-41d2a02a8c1b41a118e24058e4ee5fd36a171e57.zip | |
fixed bug: sunset timer didn't adjust MCU clock speed at low levels,
so the moon level was way too dim and used too much power
also fixed some sunset timer comments
Diffstat (limited to 'spaghetti-monster/fsm-ramping.c')
| -rw-r--r-- | spaghetti-monster/fsm-ramping.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spaghetti-monster/fsm-ramping.c b/spaghetti-monster/fsm-ramping.c index c3ad8b4..6c6d0cb 100644 --- a/spaghetti-monster/fsm-ramping.c +++ b/spaghetti-monster/fsm-ramping.c @@ -200,6 +200,9 @@ void gradual_tick() { { actual_level = gt + 1; } + #ifdef USE_DYNAMIC_UNDERCLOCKING + auto_clock_speed(); + #endif } #endif |
