Skip to content

Commit ffded48

Browse files
committed
zephyr/machine_uart: Fix arg of machine_uart_ioctl to make it uintptr_t.
Signed-off-by: Damien George <[email protected]>
1 parent 35a6f62 commit ffded48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/zephyr/machine_uart.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ STATIC mp_uint_t machine_uart_write(mp_obj_t self_in, const void *buf_in, mp_uin
131131
return size;
132132
}
133133

134-
STATIC mp_uint_t machine_uart_ioctl(mp_obj_t self_in, mp_uint_t request, mp_uint_t arg, int *errcode) {
134+
STATIC mp_uint_t machine_uart_ioctl(mp_obj_t self_in, mp_uint_t request, uintptr_t arg, int *errcode) {
135135
mp_uint_t ret;
136136

137137
if (request == MP_STREAM_POLL) {

0 commit comments

Comments
 (0)