From 11a43ec5b64c273e7b122f3b02e1aa1e6c0ef392 Mon Sep 17 00:00:00 2001 From: fpo Date: Sun, 3 Jun 2012 13:48:42 +0300 Subject: [PATCH] i think that's the correct way. --- IRremoteInt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IRremoteInt.h b/IRremoteInt.h index 751a888..7d1a0aa 100644 --- a/IRremoteInt.h +++ b/IRremoteInt.h @@ -175,7 +175,7 @@ extern volatile irparams_t irparams; #define TIMER_ENABLE_PWM (TCCR2A |= _BV(COM2B1)) #define TIMER_DISABLE_PWM (TCCR2A &= ~(_BV(COM2B1))) #define TIMER_ENABLE_INTR (TIMSK2 = _BV(OCIE2A)) -#define TIMER_DISABLE_INTR (TIMSK2 - 0) +#define TIMER_DISABLE_INTR (TIMSK2 = 0) #define TIMER_INTR_NAME TIMER2_COMPA_vect #define TIMER_CONFIG_KHZ(val) ({ \ const uint8_t pwmval = SYSCLOCK / 2000 / (val); \