kopia lustrzana https://github.com/micropython/micropython
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
rodzic
35a6f6231e
commit
ffded48810
|
@ -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) {
|
||||
|
|
Ładowanie…
Reference in New Issue