summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Epler <jepler@unpythonic.net>2021-03-04 12:28:46 -0600
committerJeff Epler <jepler@unpythonic.net>2021-03-04 12:28:46 -0600
commitbc14ed31f659ade034ac78a8ce3e19831e9e7000 (patch)
tree8ad279a173753df5bc9d90ed8931dbe645f44ff1
parentc023ec03fff59bae159469645edbe2662da8820f (diff)
StateMachine.h: Add header for declaration of mcu_pin_obj_t typedef
-rw-r--r--ports/raspberrypi/common-hal/rp2pio/StateMachine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/raspberrypi/common-hal/rp2pio/StateMachine.h b/ports/raspberrypi/common-hal/rp2pio/StateMachine.h
index 1a73a3ac7..f40db61ea 100644
--- a/ports/raspberrypi/common-hal/rp2pio/StateMachine.h
+++ b/ports/raspberrypi/common-hal/rp2pio/StateMachine.h
@@ -29,6 +29,7 @@
#include "py/obj.h"
+#include "common-hal/microcontroller/Pin.h"
#include "src/rp2_common/hardware_pio/include/hardware/pio.h"
typedef struct {