Skip to content
Commit 9d3b48fd authored by Paul Sokolovsky's avatar Paul Sokolovsky Committed by Anas Nashif
Browse files

subsys: console: tty: Allow to specify transmit timeout



Previously, transmit was effectively non-blocking - a character either
went into buffer, or -1 was returned. Now it's possible to block if
buffer is full. Timeout is K_FOREVER by default, can be adjusted
with tty_set_tx_timeout() (similar to receive timeout).

Signed-off-by: default avatarPaul Sokolovsky <paul.sokolovsky@linaro.org>
parent 680085b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment