From 1836a14fc6ced2847fdc424619a8f3d0825e4598 Mon Sep 17 00:00:00 2001 From: Lee Atkinson Date: Mon, 15 Aug 2022 10:23:16 -0400 Subject: [PATCH] Adding ifdef in AnalogFastIn.h --- shared-bindings/analogio/AnalogFastIn.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shared-bindings/analogio/AnalogFastIn.h b/shared-bindings/analogio/AnalogFastIn.h index e2b83647c7..072f56b976 100644 --- a/shared-bindings/analogio/AnalogFastIn.h +++ b/shared-bindings/analogio/AnalogFastIn.h @@ -29,6 +29,7 @@ #define MICROPY_INCLUDED_SHARED_BINDINGS_ANALOGIO_ANALOGFASTIN_H #include "common-hal/microcontroller/Pin.h" +#ifdef CIRCUITPY_ANALOGFASTIN #include "common-hal/analogio/AnalogFastIn.h" extern const mp_obj_type_t analogio_analogfastin_type; @@ -37,4 +38,5 @@ void common_hal_analogio_analogfastin_construct(analogio_analogfastin_obj_t *sel void common_hal_analogio_analogfastin_deinit(analogio_analogfastin_obj_t *self); bool common_hal_analogio_analogfastin_deinited(analogio_analogfastin_obj_t *self); bool common_hal_analogio_analogfastin_capture(analogio_analogfastin_obj_t *self); +#endif #endif // __MICROPY_INCLUDED_SHARED_BINDINGS_ANALOGIO_ANALOGFASTIN_H__