commit | 34377472485326c1aaae41aaf98ad446fbb73c5a | [log] [tgz] |
---|---|---|
author | Yann Gautier <yann.gautier@st.com> | Wed Jun 28 17:52:08 2023 +0200 |
committer | Yann Gautier <yann.gautier@st.com> | Wed Jun 28 18:09:32 2023 +0200 |
tree | ca78e8c7419f3084b8650ddfe9458a93a7c920b2 | |
parent | b855e6aae61769dd2396007815859fdb0e630cd1 [diff] |
fix(st-uart): correctly check UART enabled in flush fonction Use tst instead of ands to check USART_CR1_UE bit is set. If not exit the flush function. Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: Ibd2e18f6d8837073d0bbcb150e993985d3c0dd6f