This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch releases/12.10
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit be6a7f7cfb4d4964cc6dc4829cc8128b85132c60
Author: Kerogit <[email protected]>
AuthorDate: Sun Jun 1 11:46:13 2025 +0200

    drivers/serial/serial: typo fix in comment
    
    Signed-off-by: Kerogit <[email protected]>
---
 drivers/serial/serial.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/serial/serial.c b/drivers/serial/serial.c
index 6cbcce7f06..6796eb3df9 100644
--- a/drivers/serial/serial.c
+++ b/drivers/serial/serial.c
@@ -513,7 +513,7 @@ static int uart_tcdrain(FAR uart_dev_t *dev,
 #endif
     }
 
-  /* Get exclusive access to the to dev->tmit.  We cannot permit new data to
+  /* Get exclusive access to the to dev->xmit.  We cannot permit new data to
    * be written while we are trying to flush the old data.
    *
    * A signal received while waiting for access to the xmit.head will abort

Reply via email to