Skip to content

Commit a3f3872

Browse files
committed
fix build issues
1 parent 7a7f663 commit a3f3872

3 files changed

Lines changed: 1 addition & 4 deletions

File tree

ports/atmel-samd/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ SRC_C = \
245245
reset.c \
246246
supervisor/shared/memory.c \
247247
tick.c \
248+
timer_handler.c \
248249

249250

250251
ifeq ($(CIRCUITPY_NETWORK),1)

ports/atmel-samd/timer_handler.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
#include "timer_handler.h"
3131

3232
#include "common-hal/pulseio/PulseOut.h"
33-
#include "common-hal/pulseio/FrequencyIn.h"
3433

3534
static uint8_t tc_handler[TC_INST_NUM];
3635

@@ -47,8 +46,6 @@ void shared_timer_handler(bool is_tc, uint8_t index) {
4746
uint8_t handler = tc_handler[index];
4847
if (handler == TC_HANDLER_PULSEOUT) {
4948
pulseout_interrupt_handler(index);
50-
} else if (handler == TC_HANDLER_FREQUENCYIN) {
51-
frequencyin_interrupt_handler(index);
5249
}
5350
}
5451
}

ports/atmel-samd/timer_handler.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828

2929
#define TC_HANDLER_NO_INTERRUPT 0x0
3030
#define TC_HANDLER_PULSEOUT 0x1
31-
#define TC_HANDLER_FREQUENCYIN 0x2
3231

3332
void set_timer_handler(bool is_tc, uint8_t index, uint8_t timer_handler);
3433
void shared_timer_handler(bool is_tc, uint8_t index);

0 commit comments

Comments
 (0)