Skip to content
Commit 062d4d5e authored by Flavio Ceolin's avatar Flavio Ceolin Committed by Anas Nashif
Browse files

serial: uart_async_rx: Avoid possible division by zero



Ensures that config->but_cnt is not zero.

Fixes #66800
CID #338107

Signed-off-by: default avatarFlavio Ceolin <flavio.ceolin@intel.com>
(cherry picked from commit 5822267c)
parent 2b4e3274
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment