stm32_serial.c: Don't fake a TX interrupt when interrupts are not

suppressed.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
Abdelatif Guettouche 2021-08-30 09:49:51 +02:00 committed by David Sidrane
parent 87496972a2
commit 31aa616bf2

View File

@ -2964,6 +2964,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).
*/