commit | edff2b020f26a1b05ffb6f0fb3aa6b72627908f2 | [log] [tgz] |
---|---|---|
author | Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no> | Fri May 28 08:06:15 2021 +0200 |
committer | Kumar Gala <kumar.gala@gmail.com> | Fri May 28 10:06:15 2021 -0500 |
tree | 3e9e6314959c0de37b29855977279dbb75ab76c4 | |
parent | 79e0ab743ec6c00e6905f0ce73cdc6eee8bdc020 [diff] |
drivers: serial: nrf_uarte: Fix async/int TX api in inactive state Currently zephyr has no means to control access to the uart driver when it is inactive, e.g. shell is not aware of uart being in idle state and calls asynchronous api. Add early return to TX starting procedure if device is idle. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>