summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/zephyr/machine_i2c.c2
-rw-r--r--ports/zephyr/zephyr_storage.c2
2 files changed, 2 insertions, 2 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;
diff --git a/ports/zephyr/zephyr_storage.c b/ports/zephyr/zephyr_storage.c
index 83f19a8fe..1c25b3277 100644
--- a/ports/zephyr/zephyr_storage.c
+++ b/ports/zephyr/zephyr_storage.c
@@ -146,7 +146,7 @@ typedef struct _zephyr_flash_area_obj_t {
const struct flash_area *area;
int block_size;
int block_count;
- u8_t id;
+ uint8_t id;
} zephyr_flash_area_obj_t;
STATIC void zephyr_flash_area_print(const mp_print_t *print, mp_obj_t self_in, mp_print_kind_t kind) {