|
|
|
@ -31,9 +31,7 @@
|
|
|
|
|
|
|
|
|
|
#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];
|
|
|
|
|
|
|
|
|
@ -58,7 +56,7 @@ void shared_timer_handler(bool is_tc, uint8_t index) {
|
|
|
|
|
#endif
|
|
|
|
|
break;
|
|
|
|
|
case TC_HANDLER_FREQUENCYIN:
|
|
|
|
|
#if CIRCUITPY_FREQUENCYIN
|
|
|
|
|
#if CIRCUITPY_FREQUENCYIO
|
|
|
|
|
frequencyin_interrupt_handler(index);
|
|
|
|
|
#endif
|
|
|
|
|
break;
|
|
|
|
|