diff options
author | Martino Facchin <m.facchin@arduino.cc> | 2020-05-04 11:36:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-04 11:36:09 +0200 |
commit | 58081c05e548560d3a60050bbf260ebec5d1e867 (patch) | |
tree | 33c7ee2ff3ae074b36a8bbcfe83534821a0507c4 | |
parent | 0f3d4da614d5a195e03d70741031092a002e2d33 (diff) | |
parent | 4438bb7fd43ee18a203db09c1ea7ed829b1a6232 (diff) |
Merge pull request #337 from Max-Leopold/patch-1
Correct comment on wiring_analog.c
-rw-r--r-- | cores/arduino/wiring_analog.c | 2 |
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; |