diff options
| author | sommersoft <sommersoft@gmail.com> | 2019-03-02 10:05:32 -0600 |
|---|---|---|
| committer | sommersoft <sommersoft@gmail.com> | 2019-03-02 10:05:32 -0600 |
| commit | c9eb02d9d29aa7a3ae9091b08a11377e4d1ae4d6 (patch) | |
| tree | 65eaaf50fe61f799860220eb52ac2abee3f671b8 /ports/atmel-samd/timer_handler.c | |
| parent | 2cd6a7901683e32832f42a531485783aa599169a (diff) | |
shore-up inclusion
Diffstat (limited to 'ports/atmel-samd/timer_handler.c')
| -rw-r--r-- | ports/atmel-samd/timer_handler.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ports/atmel-samd/timer_handler.c b/ports/atmel-samd/timer_handler.c index 6fb25db4f..498294acf 100644 --- a/ports/atmel-samd/timer_handler.c +++ b/ports/atmel-samd/timer_handler.c @@ -31,7 +31,9 @@ #include "common-hal/pulseio/PulseOut.h" #include "shared-module/_pew/PewPew.h" +#if CIRCUITPY_FREQUENCYIN #include "common-hal/frequencyio/FrequencyIn.h" +#endif static uint8_t tc_handler[TC_INST_NUM]; @@ -51,12 +53,14 @@ void shared_timer_handler(bool is_tc, uint8_t index) { pulseout_interrupt_handler(index); break; case TC_HANDLER_PEW: -#if CIRCUITPY_PEW + #if CIRCUITPY_PEW pewpew_interrupt_handler(index); -#endif + #endif break; case TC_HANDLER_FREQUENCYIN: + #if CIRCUITPY_FREQUENCYIN frequencyin_interrupt_handler(index); + #endif break; default: break; |
