diff --git a/arch/xtensa/src/esp32/esp32_serial.c b/arch/xtensa/src/esp32/esp32_serial.c index d2205f7a8a..b4d7dda278 100644 --- a/arch/xtensa/src/esp32/esp32_serial.c +++ b/arch/xtensa/src/esp32/esp32_serial.c @@ -1733,6 +1733,7 @@ static void esp32_txint(struct uart_dev_s *dev, bool enable) * interrupts disabled (note this may recurse). */ + spin_unlock_irqrestore(&priv->lock, flags); uart_xmitchars(dev); #endif }