Skip to content
Commit aa91500a authored by Andriy Gelman's avatar Andriy Gelman Committed by Carles Cufí
Browse files

drivers: uart_xmc4xxx: Check that receive buffers have data in poll_in



As per XMCLib documentation we need to check that data has been received
before reading the buffers.

Fixes test_uart_poll_in test in tests/drivers/uart/uart_basic_api.

Signed-off-by: default avatarAndriy Gelman <andriy.gelman@gmail.com>
parent 4c2ff6dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment