Skip to content
Commit 0300b34c authored by Francois Ramu's avatar Francois Ramu Committed by Carles Cufi
Browse files

drivers: serial: stm32 UART driver do not start Rx timer if null



This commit is optimizing the uart isr execution to avoid starting
the Rx timeout if it is null. In anycase the async_timer_start
function is checking the tiemout value. This will just save some
execution lines.

Signed-off-by: default avatarFrancois Ramu <francois.ramu@st.com>
parent 939b2745
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment