From e3886bb569ccb89fb1198bab08c5f7d5fc0e2583 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Mon, 25 Jan 2021 00:03:02 -0700 Subject: removed redundant function call, added missing comment --- spaghetti-monster/anduril/cfg-noctigon-k9.3.c | 3 --- spaghetti-monster/fsm-ramping.c | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'spaghetti-monster') diff --git a/spaghetti-monster/anduril/cfg-noctigon-k9.3.c b/spaghetti-monster/anduril/cfg-noctigon-k9.3.c index 5cb027a..5ce5c5a 100644 --- a/spaghetti-monster/anduril/cfg-noctigon-k9.3.c +++ b/spaghetti-monster/anduril/cfg-noctigon-k9.3.c @@ -98,8 +98,5 @@ void gradual_tick() { { actual_level = gt + 1; } } - #ifdef USE_DYNAMIC_UNDERCLOCKING - auto_clock_speed(); - #endif } diff --git a/spaghetti-monster/fsm-ramping.c b/spaghetti-monster/fsm-ramping.c index 0768f8d..d6a14ef 100644 --- a/spaghetti-monster/fsm-ramping.c +++ b/spaghetti-monster/fsm-ramping.c @@ -135,7 +135,7 @@ void set_level(uint8_t level) { PWM1_LVL = warm_PWM; PWM2_LVL = cool_PWM; - #else + #else // ifdef USE_TINT_RAMPING #if PWM_CHANNELS >= 1 PWM1_LVL = PWM_GET(pwm1_levels, level); -- cgit v1.2.3