Skip to content

Commit 7249241

Browse files
committed
Do not compile MyIRremote on ARM, library is written for AVR.
1 parent df5d785 commit 7249241

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

MyIRremote.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
#include "MyIRremote.h"
2121
#include "MyIRremoteInt.h"
2222

23+
#ifndef __arm__
24+
2325
// Provides ISR
2426
#include <avr/interrupt.h>
2527

@@ -1160,3 +1162,4 @@ void IRsend::sendDISH(unsigned long data, int nbits) {
11601162
data <<= 1;
11611163
}
11621164
}
1165+
#endif

0 commit comments

Comments
 (0)