Skip to content
Commit b0a872c9 authored by Yong Cong Sin's avatar Yong Cong Sin Committed by Anas Nashif
Browse files

drivers: uart: ns16550: refactor read into a function



Refactor the char read into a function, check for availability
before reading.

Signed-off-by: default avatarYong Cong Sin <ycsin@meta.com>
Signed-off-by: default avatarYong Cong Sin <yongcong.sin@gmail.com>
parent 1d571fff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment