Fixed wrong condition in turnOffPWM(..)

Fix #2163
This commit is contained in:
Cristian Maglie 2015-09-15 17:44:52 +02:00
parent 07b4e11354
commit 4d234a550c
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ static void turnOffPWM(uint8_t timer)
case TIMER0A: cbi(TCCR0A, COM0A1); break;
#endif
#if defined(TIMER0B) && defined(COM0B1)
#if defined(TCCR0A) && defined(COM0B1)
case TIMER0B: cbi(TCCR0A, COM0B1); break;
#endif
#if defined(TCCR2A) && defined(COM2A1)