fix build issues

crypto-aes
sommersoft 4 years ago
parent 7a7f6638d2
commit a3f387274f

@ -245,6 +245,7 @@ SRC_C = \
reset.c \
supervisor/shared/memory.c \
tick.c \
timer_handler.c \
ifeq ($(CIRCUITPY_NETWORK),1)

@ -30,7 +30,6 @@
#include "timer_handler.h"
#include "common-hal/pulseio/PulseOut.h"
#include "common-hal/pulseio/FrequencyIn.h"
static uint8_t tc_handler[TC_INST_NUM];
@ -47,8 +46,6 @@ void shared_timer_handler(bool is_tc, uint8_t index) {
uint8_t handler = tc_handler[index];
if (handler == TC_HANDLER_PULSEOUT) {
pulseout_interrupt_handler(index);
} else if (handler == TC_HANDLER_FREQUENCYIN) {
frequencyin_interrupt_handler(index);
}
}
}

@ -28,7 +28,6 @@
#define TC_HANDLER_NO_INTERRUPT 0x0
#define TC_HANDLER_PULSEOUT 0x1
#define TC_HANDLER_FREQUENCYIN 0x2
void set_timer_handler(bool is_tc, uint8_t index, uint8_t timer_handler);
void shared_timer_handler(bool is_tc, uint8_t index);

Loading…
Cancel
Save