Identified a critical section and marked as such; fixed the timeout feature, it didn't work.
Identified a critical section and marked as such; fixed the timeout feature, it didn't work.

lixpaulian/stm32f7-uart,lixpaulian/stm32f7-uart,lixpaulian/stm32f7-uart