diff options
| author | Selene ToyKeeper | 2021-01-25 00:03:02 -0700 |
|---|---|---|
| committer | Selene ToyKeeper | 2021-01-25 00:03:02 -0700 |
| commit | e3886bb569ccb89fb1198bab08c5f7d5fc0e2583 (patch) | |
| tree | e24c5232d86615293bd4f22a555146145fe94adb | |
| parent | bug pseudo-fix: K9.3 lockout mode failed in blinking single-color mode (diff) | |
| download | anduril-e3886bb569ccb89fb1198bab08c5f7d5fc0e2583.tar.gz anduril-e3886bb569ccb89fb1198bab08c5f7d5fc0e2583.tar.bz2 anduril-e3886bb569ccb89fb1198bab08c5f7d5fc0e2583.zip | |
removed redundant function call, added missing comment
| -rw-r--r-- | spaghetti-monster/anduril/cfg-noctigon-k9.3.c | 3 | ||||
| -rw-r--r-- | spaghetti-monster/fsm-ramping.c | 2 |
2 files changed, 1 insertions, 4 deletions
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); |
