Open miketeachman opened 5 years ago
The UART deinit() method always returns ValueError: Cannot stop UART task
ValueError: Cannot stop UART task
Caused by a bug in the C implementation in function=machine_uart_deinit(), file=machine_uart.c.
Fixed by changing test for tmo With bug:
tmo
if (tmo) { mp_raise_ValueError("Cannot stop UART task!"); }
With fix:
if (!tmo) { mp_raise_ValueError("Cannot stop UART task!"); }
thanks !
The UART deinit() method always returns
ValueError: Cannot stop UART task
Caused by a bug in the C implementation in function=machine_uart_deinit(), file=machine_uart.c.
Fixed by changing test for
tmo
With bug:With fix:
thanks !