Skip to content
Commit 5c175cc8 authored by Siddharth Chandrasekaran's avatar Siddharth Chandrasekaran Committed by Anas Nashif
Browse files

mgmt/osdp: Handle errors in uart_fifo_read()



Since 581c20e2 ("drivers: uart: Cleanup not supported API handling")
uart_fifo_read() returns -ve on errors. Correct the check on its return
value to work with this new API.

CID: 240662
Fixes: #39840
Signed-off-by: default avatarSiddharth Chandrasekaran <sidcha.dev@gmail.com>
parent ed47bc8b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment