aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSelene ToyKeeper2021-01-25 00:03:02 -0700
committerSelene ToyKeeper2021-01-25 00:03:02 -0700
commite3886bb569ccb89fb1198bab08c5f7d5fc0e2583 (patch)
treee24c5232d86615293bd4f22a555146145fe94adb
parentbug pseudo-fix: K9.3 lockout mode failed in blinking single-color mode (diff)
downloadanduril-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.c3
-rw-r--r--spaghetti-monster/fsm-ramping.c2
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);
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.