summaryrefslogtreecommitdiff
path: root/shared-bindings/microcontroller/Pin.h
diff options
context:
space:
mode:
Diffstat (limited to 'shared-bindings/microcontroller/Pin.h')
-rw-r--r--shared-bindings/microcontroller/Pin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared-bindings/microcontroller/Pin.h b/shared-bindings/microcontroller/Pin.h
index 96df67ef8..d31ba040c 100644
--- a/shared-bindings/microcontroller/Pin.h
+++ b/shared-bindings/microcontroller/Pin.h
@@ -32,4 +32,6 @@
// Type object used in Python. Should be shared between ports.
extern const mp_obj_type_t mcu_pin_type;
+void assert_pin(mp_obj_t obj, bool none_ok);
+
#endif // __MICROPY_INCLUDED_SHARED_BINDINGS_MICROCONTROLLER_PIN_H__