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

Signed-off-by: Damien George <damien@micropython.org>
pull/6824/head
Damien George 2021-02-01 22:30:50 +11:00
rodzic 35a6f6231e
commit ffded48810
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -131,7 +131,7 @@ STATIC mp_uint_t machine_uart_write(mp_obj_t self_in, const void *buf_in, mp_uin
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;
if (request == MP_STREAM_POLL) {