We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ff1b92 commit b610868Copy full SHA for b610868
arduino/avr/cores/arduino/wiring_digital.c
@@ -94,7 +94,7 @@ static void turnOffPWM(uint8_t timer)
94
case TIMER0A: cbi(TCCR0A, COM0A1); break;
95
#endif
96
97
- #if defined(TIMER0B) && defined(COM0B1)
+ #if defined(TCCR0A) && defined(COM0B1)
98
case TIMER0B: cbi(TCCR0A, COM0B1); break;
99
100
#if defined(TCCR2A) && defined(COM2A1)
0 commit comments