We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5947c0c commit 4968b07Copy full SHA for 4968b07
src/private/IRremoteBoardDefs.h
@@ -514,7 +514,11 @@ static void timerConfigForReceive() {
514
# endif
515
516
//-----------------
517
+#if defined(TIMER1_COMPA_vect)
518
#define TIMER_INTR_NAME TIMER1_COMPA_vect
519
+#elif defined(TIM1_COMPA_vect)
520
+#define TIMER_INTR_NAME TIM1_COMPA_vect
521
+#endif
522
523
static void timerConfigForSend(uint16_t aFrequencyKHz) {
524
const uint32_t pwmval = SYSCLOCK / 2000 / (aFrequencyKHz); // 2000 instead of 1000 because of Phase Correct PWM
0 commit comments