We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb741e9 commit 11a43ecCopy full SHA for 11a43ec
IRremoteInt.h
@@ -175,7 +175,7 @@ extern volatile irparams_t irparams;
175
#define TIMER_ENABLE_PWM (TCCR2A |= _BV(COM2B1))
176
#define TIMER_DISABLE_PWM (TCCR2A &= ~(_BV(COM2B1)))
177
#define TIMER_ENABLE_INTR (TIMSK2 = _BV(OCIE2A))
178
-#define TIMER_DISABLE_INTR (TIMSK2 - 0)
+#define TIMER_DISABLE_INTR (TIMSK2 = 0)
179
#define TIMER_INTR_NAME TIMER2_COMPA_vect
180
#define TIMER_CONFIG_KHZ(val) ({ \
181
const uint8_t pwmval = SYSCLOCK / 2000 / (val); \
0 commit comments