aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSelene ToyKeeper2021-09-08 17:15:14 -0600
committerSelene ToyKeeper2021-09-08 17:15:14 -0600
commit7393af3c7e2539d78243a593d061a2523ea9e39f (patch)
tree207500c964735166decc2b1cabf3e739e42ff113
parentgot D4Sv2 tint ramping to work, with dynamic PWM (PFM) (diff)
downloadanduril-7393af3c7e2539d78243a593d061a2523ea9e39f.tar.gz
anduril-7393af3c7e2539d78243a593d061a2523ea9e39f.tar.bz2
anduril-7393af3c7e2539d78243a593d061a2523ea9e39f.zip
fixed outdated comment in KR4 hwdef
-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 eee4e08..75dd4c6 100644
--- a/hwdef-Noctigon_KR4.h
+++ b/hwdef-Noctigon_KR4.h
@@ -132,7 +132,7 @@ inline void hwdef_setup() {
// configure PWM
// Setup PWM. F_pwm = F_clkio / 2 / N / TOP, where N = prescale factor, TOP = top of counter
// pre-scale for timer: N = 1
- // WGM1[3:0]: 0,0,1,1: PWM, Phase Correct, 10-bit (DS table 12-5)
+ // WGM1[3:0]: 1,0,1,0: PWM, Phase Correct, adjustable (DS table 12-5)
// CS1[2:0]: 0,0,1: clk/1 (No prescaling) (DS table 12-6)
// COM1A[1:0]: 1,0: PWM OC1A in the normal direction (DS table 12-4)
// COM1B[1:0]: 1,0: PWM OC1B in the normal direction (DS table 12-4)
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.