aboutsummaryrefslogtreecommitdiff
path: root/hwdef-noctigon-kr4.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-07-21 15:47:52 -0600
committerSelene ToyKeeper2023-07-21 15:47:52 -0600
commitd4e948ab54c8f71db2790a964668e1f3b399e7db (patch)
treed72e38be294f666af8941e01915f04080c4d3ec0 /hwdef-noctigon-kr4.h
parentfixed default channel mode after using factory reset with colors (diff)
downloadanduril-d4e948ab54c8f71db2790a964668e1f3b399e7db.tar.gz
anduril-d4e948ab54c8f71db2790a964668e1f3b399e7db.tar.bz2
anduril-d4e948ab54c8f71db2790a964668e1f3b399e7db.zip
converted noctigon-k1 to multi-channel
Diffstat (limited to 'hwdef-noctigon-kr4.h')
-rw-r--r--hwdef-noctigon-kr4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwdef-noctigon-kr4.h b/hwdef-noctigon-kr4.h
index 202a302..02e88af 100644
--- a/hwdef-noctigon-kr4.h
+++ b/hwdef-noctigon-kr4.h
@@ -72,7 +72,7 @@ enum CHANNEL_MODES {
#define PWM2_DATATYPE uint8_t // DD FET ramp
// PWM parameters of both channels are tied together because they share a counter
-#define PWM_TOP ICR1 // holds the TOP value for for variable-resolution PWM
+#define PWM_TOP ICR1 // holds the TOP value for variable-resolution PWM
#define PWM_TOP_INIT 255 // highest value used in top half of ramp
#define PWM_CNT TCNT1 // for dynamic PWM, reset phase