Skip to content

Commit 11a43ec

Browse files
committed
i think that's the correct way.
1 parent fb741e9 commit 11a43ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IRremoteInt.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ extern volatile irparams_t irparams;
175175
#define TIMER_ENABLE_PWM (TCCR2A |= _BV(COM2B1))
176176
#define TIMER_DISABLE_PWM (TCCR2A &= ~(_BV(COM2B1)))
177177
#define TIMER_ENABLE_INTR (TIMSK2 = _BV(OCIE2A))
178-
#define TIMER_DISABLE_INTR (TIMSK2 - 0)
178+
#define TIMER_DISABLE_INTR (TIMSK2 = 0)
179179
#define TIMER_INTR_NAME TIMER2_COMPA_vect
180180
#define TIMER_CONFIG_KHZ(val) ({ \
181181
const uint8_t pwmval = SYSCLOCK / 2000 / (val); \

0 commit comments

Comments
 (0)