Commit ffded488 authored by Damien George's avatar Damien George

zephyr/machine_uart: Fix arg of machine_uart_ioctl to make it uintptr_t.

Signed-off-by: default avatarDamien George <damien@micropython.org>
parent 35a6f623
...@@ -131,7 +131,7 @@ STATIC mp_uint_t machine_uart_write(mp_obj_t self_in, const void *buf_in, mp_uin ...@@ -131,7 +131,7 @@ STATIC mp_uint_t machine_uart_write(mp_obj_t self_in, const void *buf_in, mp_uin
return size; return size;
} }
STATIC mp_uint_t machine_uart_ioctl(mp_obj_t self_in, mp_uint_t request, mp_uint_t arg, int *errcode) { STATIC mp_uint_t machine_uart_ioctl(mp_obj_t self_in, mp_uint_t request, uintptr_t arg, int *errcode) {
mp_uint_t ret; mp_uint_t ret;
if (request == MP_STREAM_POLL) { if (request == MP_STREAM_POLL) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment