shore-up inclusion
This commit is contained in:
parent
2cd6a79016
commit
c9eb02d9d2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user