diff options
author | David A. Mellis <d.mellis@arduino.cc> | 2010-09-08 22:33:33 +0000 |
---|---|---|
committer | David A. Mellis <d.mellis@arduino.cc> | 2010-09-08 22:33:33 +0000 |
commit | f9a3b5cfa9b591096b80a7541323c4319da2d32d (patch) | |
tree | e371a9e83e28c3eeb7113b963c44cd11fe0135ee /cores/arduino/wiring_digital.c | |
parent | 4bbd4f7448907ed0133ef737fc694751f9f97ea3 (diff) |
1280 -> 1280/2560.
Diffstat (limited to 'cores/arduino/wiring_digital.c')
-rwxr-xr-x | cores/arduino/wiring_digital.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/wiring_digital.c b/cores/arduino/wiring_digital.c index 3529923..1475f0c 100755 --- a/cores/arduino/wiring_digital.c +++ b/cores/arduino/wiring_digital.c @@ -71,7 +71,7 @@ static inline void turnOffPWM(uint8_t timer) if (timer == TIMER2B) cbi(TCCR2A, COM2B1); #endif -#if defined(__AVR_ATmega1280__) +#if defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__) if (timer == TIMER3A) cbi(TCCR3A, COM3A1); if (timer == TIMER3B) cbi(TCCR3A, COM3B1); if (timer == TIMER3C) cbi(TCCR3A, COM3C1); |