Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mimxrt: Fix the UART.deinit() and uart_deinit_all() behaviour.
The code did not check at deinit whether a UART was initialized. That did not matter for all MCU's except MIMXRT1176, which crashes at the second soft reset in a row. But since it is a general problem to use UART methods of a UART which has been deinitialized, checks were added to all methods for a clear response instead of e.g. a crash. Signed-off-by: robert-hh <robert@hammelrath.com>
- Loading branch information