Skip to content
Commit 8ab9e8ff authored by Patrice Chotard's avatar Patrice Chotard
Browse files

serial: stm32: BRR must be set only when usart is disable



To avoid spurious chars, BRR register must only be written when
USART is disabled.

Signed-off-by: default avatarPatrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: default avatarPatrick Delaunay <patrick.delaunay@foss.st.com>
parent b4dbc5d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment