Skip to content

Commit 58081c0

Browse files
authored
Merge pull request arduino#337 from Max-Leopold/patch-1
Correct comment on wiring_analog.c
2 parents 0f3d4da + 4438bb7 commit 58081c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/arduino/wiring_analog.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ void analogWrite(uint8_t pin, int val)
164164

165165
#if defined(TCCR1A) && defined(COM1C1)
166166
case TIMER1C:
167-
// connect pwm to pin on timer 1, channel B
167+
// connect pwm to pin on timer 1, channel C
168168
sbi(TCCR1A, COM1C1);
169169
OCR1C = val; // set pwm duty
170170
break;

0 commit comments

Comments
 (0)