From 41d2a02a8c1b41a118e24058e4ee5fd36a171e57 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Fri, 31 Jul 2020 20:13:42 -0600 Subject: 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 --- spaghetti-monster/fsm-ramping.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'spaghetti-monster/fsm-ramping.c') 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 -- cgit v1.2.3