tests: uart_async_api: flush reception in read_abort
After finish transmitting some bytes might be in the
peripheral receive register, since the transmition
is still happening after reception disabled.
This patch ensures that the peripheral has no
bytes in its internal state.
Signed-off-by:
Shlomi Vaknin <shlomi.39sd@gmail.com>
Loading
Please sign in to comment