From b2520f3147d839852141e6ade061661acd0b1141 Mon Sep 17 00:00:00 2001 From: sommersoft Date: Sat, 2 Mar 2019 16:17:23 -0600 Subject: [PATCH] using the correct name for things is important... --- ports/atmel-samd/timer_handler.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ports/atmel-samd/timer_handler.c b/ports/atmel-samd/timer_handler.c index 498294acfc..61ab3e6d76 100644 --- a/ports/atmel-samd/timer_handler.c +++ b/ports/atmel-samd/timer_handler.c @@ -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;