zephyr: Replace zephyr integer types with C99 types.

Zephyr v2.4.0 stopped using custom integer types in favor of C99 types
instead.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
pull/6470/merge
Maureen Helm 2020-09-12 14:46:05 -05:00 zatwierdzone przez Damien George
rodzic 319437d4bd
commit ce49be43b1
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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;

Wyświetl plik

@ -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) {