Adding ifdef in AnalogFastIn.h

This commit is contained in:
Lee Atkinson 2022-08-15 10:23:16 -04:00
parent 3a45a8eae6
commit 1836a14fc6

View File

@ -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__