stm32*7/stm32_serial.c: Don't fake an interrupt when interrupts are not

suppressed.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
Abdelatif Guettouche
2021-09-12 16:34:36 +02:00
committed by Xiang Xiao
parent ba9b829372
commit 198c30eaa6
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -3336,6 +3336,7 @@ static void up_txint(struct uart_dev_s *dev, bool enable)
up_restoreusartint(priv, ie);
#else
/* Fake a TX interrupt here by just calling uart_xmitchars() with
* interrupts disabled (note this may recurse).
*/
+1
View File
@@ -3531,6 +3531,7 @@ static void up_txint(struct uart_dev_s *dev, bool enable)
up_restoreusartint(priv, ie);
#else
/* Fake a TX interrupt here by just calling uart_xmitchars() with
* interrupts disabled (note this may recurse).
*/