Skip to content

Commit

Permalink
zephyr: Replace zephyr integer types with C99 types.
Browse files Browse the repository at this point in the history
Zephyr v2.4.0 stopped using custom integer types in favor of C99 types
instead.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
  • Loading branch information
MaureenHelm authored and dpgeorge committed Sep 30, 2020
1 parent 319437d commit ce49be4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ports/zephyr/machine_i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion ports/zephyr/zephyr_storage.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ce49be4

Please sign in to comment.