You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by da...@apache.org on 2021/09/10 22:15:55 UTC
[incubator-nuttx] branch master updated: stm32_serial.c: Don't fake
a TX interrupt when interrupts are not suppressed.
This is an automated email from the ASF dual-hosted git repository.
davids5 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 31aa616 stm32_serial.c: Don't fake a TX interrupt when interrupts are not suppressed.
31aa616 is described below
commit 31aa616bf2ad87c4c880303c0a84b6cb00026f4d
Author: Abdelatif Guettouche <ab...@espressif.com>
AuthorDate: Mon Aug 30 09:49:51 2021 +0200
stm32_serial.c: Don't fake a TX interrupt when interrupts are not
suppressed.
Signed-off-by: Abdelatif Guettouche <ab...@espressif.com>
---
arch/arm/src/stm32/stm32_serial.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/src/stm32/stm32_serial.c b/arch/arm/src/stm32/stm32_serial.c
index ebb702e..d5ceed7 100644
--- a/arch/arm/src/stm32/stm32_serial.c
+++ b/arch/arm/src/stm32/stm32_serial.c
@@ -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).
*/