aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/wiring_analog.c
diff options
context:
space:
mode:
authorDavid Madison <dmadison@users.noreply.github.com>2020-07-23 06:38:35 -0400
committerDavid Madison <dmadison@users.noreply.github.com>2020-07-23 06:38:35 -0400
commit41870576b451062921f9e35be411efa56be37ea1 (patch)
tree4a0f8da4185436714fccb33db8b592db8a8b83b2 /cores/arduino/wiring_analog.c
parent924299c159b619852d4c5eb1fc106db8a459d661 (diff)
parent3055c1efa3c6980c864f661e6c8cc5d5ac773af4 (diff)
Merge tag '1.8.3' into upstream-updates
Release 1.8.3
Diffstat (limited to 'cores/arduino/wiring_analog.c')
-rw-r--r--cores/arduino/wiring_analog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/wiring_analog.c b/cores/arduino/wiring_analog.c
index 967c2b9..e237d6d 100644
--- a/cores/arduino/wiring_analog.c
+++ b/cores/arduino/wiring_analog.c
@@ -164,7 +164,7 @@ void analogWrite(uint8_t pin, int val)
#if defined(TCCR1A) && defined(COM1C1)
case TIMER1C:
- // connect pwm to pin on timer 1, channel B
+ // connect pwm to pin on timer 1, channel C
sbi(TCCR1A, COM1C1);
OCR1C = val; // set pwm duty
break;