File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ EXTERN volatile irparams_t irparams;
171171 #define IR_USE_TIMER4_HS // tx = pin 10
172172
173173// Teensy 3.0 / Teensy 3.1
174- #elif defined(__MK20DX128__ ) || defined(__MK20DX256__ )
174+ #elif defined(__MK20DX128__ ) || defined(__MK20DX256__ ) || defined( __MK64FX512__ ) || defined( __MK66FX1M0__ )
175175 #define IR_USE_TIMER_CMT // tx = pin 5
176176
177177// Teensy-LC
@@ -503,7 +503,7 @@ EXTERN volatile irparams_t irparams;
503503#elif defined(IR_USE_TIMER_CMT )
504504
505505#define TIMER_RESET ({ \
506- uint8_t tmp = CMT_MSC; \
506+ uint8_t tmp __attribute__((unused)) = CMT_MSC; \
507507 CMT_CMD2 = 30; \
508508})
509509
@@ -553,7 +553,7 @@ EXTERN volatile irparams_t irparams;
553553 CMT_CGH1 = 1; \
554554 CMT_CGL1 = 1; \
555555 CMT_CMD1 = 0; \
556- CMT_CMD2 = 30 \
556+ CMT_CMD2 = 30; \
557557 CMT_CMD3 = 0; \
558558 CMT_CMD4 = 19; \
559559 CMT_OC = 0; \
You can’t perform that action at this time.
0 commit comments