aboutsummaryrefslogtreecommitdiff
path: root/ports/zephyr/machine_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/zephyr/machine_i2c.c')
-rw-r--r--ports/zephyr/machine_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/zephyr/machine_i2c.c b/ports/zephyr/machine_i2c.c
index 4b29f41d1..576cb1977 100644
--- a/ports/zephyr/machine_i2c.c
+++ b/ports/zephyr/machine_i2c.c
@@ -97,7 +97,7 @@ STATIC int machine_hard_i2c_transfer_single(mp_obj_base_t *self_in, uint16_t add
struct i2c_msg msg;
int ret;
- msg.buf = (u8_t *)buf;
+ msg.buf = (uint8_t *)buf;
msg.len = len;
msg.flags = 0;