summaryrefslogtreecommitdiff
path: root/shared-module
diff options
context:
space:
mode:
Diffstat (limited to 'shared-module')
-rw-r--r--shared-module/bitbangio/I2C.c2
-rw-r--r--shared-module/bitbangio/OneWire.c2
-rw-r--r--shared-module/bitbangio/SPI.c2
-rw-r--r--shared-module/busio/OneWire.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/shared-module/bitbangio/I2C.c b/shared-module/bitbangio/I2C.c
index 4c47629c7..0f017fc18 100644
--- a/shared-module/bitbangio/I2C.c
+++ b/shared-module/bitbangio/I2C.c
@@ -29,7 +29,7 @@
#include "py/mperrno.h"
#include "py/obj.h"
-#include "common-hal/microcontroller/types.h"
+#include "common-hal/microcontroller/Pin.h"
#include "shared-bindings/microcontroller/__init__.h"
#include "shared-bindings/digitalio/DigitalInOut.h"
#include "shared-module/bitbangio/types.h"
diff --git a/shared-module/bitbangio/OneWire.c b/shared-module/bitbangio/OneWire.c
index b78acc8ec..46c0c406c 100644
--- a/shared-module/bitbangio/OneWire.c
+++ b/shared-module/bitbangio/OneWire.c
@@ -24,7 +24,7 @@
* THE SOFTWARE.
*/
-#include "common-hal/microcontroller/types.h"
+#include "common-hal/microcontroller/Pin.h"
#include "shared-bindings/bitbangio/OneWire.h"
#include "shared-bindings/microcontroller/__init__.h"
#include "shared-bindings/digitalio/DigitalInOut.h"
diff --git a/shared-module/bitbangio/SPI.c b/shared-module/bitbangio/SPI.c
index be0deda8f..a3c70dde9 100644
--- a/shared-module/bitbangio/SPI.c
+++ b/shared-module/bitbangio/SPI.c
@@ -29,7 +29,7 @@
#include "py/nlr.h"
#include "py/obj.h"
-#include "common-hal/microcontroller/types.h"
+#include "common-hal/microcontroller/Pin.h"
#include "shared-bindings/microcontroller/__init__.h"
#include "shared-bindings/digitalio/DigitalInOut.h"
#include "shared-module/bitbangio/types.h"
diff --git a/shared-module/busio/OneWire.c b/shared-module/busio/OneWire.c
index 0e3c2c384..73d3d29d7 100644
--- a/shared-module/busio/OneWire.c
+++ b/shared-module/busio/OneWire.c
@@ -25,7 +25,7 @@
*/
// Wraps the bitbangio implementation of OneWire for use in busio.
-#include "common-hal/microcontroller/types.h"
+#include "common-hal/microcontroller/Pin.h"
#include "shared-bindings/bitbangio/OneWire.h"
#include "shared-module/busio/OneWire.h"