We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ade7cb6 + 11a43ec commit b25accfCopy full SHA for b25accf
IRremoteInt.h
@@ -196,7 +196,7 @@ extern volatile irparams_t irparams;
196
#define TIMER_ENABLE_PWM (TCCR2A |= _BV(COM2B1))
197
#define TIMER_DISABLE_PWM (TCCR2A &= ~(_BV(COM2B1)))
198
#define TIMER_ENABLE_INTR (TIMSK2 = _BV(OCIE2A))
199
-#define TIMER_DISABLE_INTR (TIMSK2 - 0)
+#define TIMER_DISABLE_INTR (TIMSK2 = 0)
200
#define TIMER_INTR_NAME TIMER2_COMPA_vect
201
#define TIMER_CONFIG_KHZ(val) ({ \
202
const uint8_t pwmval = SYSCLOCK / 2000 / (val); \
0 commit comments