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

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit c6c71b0beb5c986ea29e6804e6d9d3da5c13bdac
Author: Kerogit <kr....@kerogit.eu>
AuthorDate: Sun Jun 1 11:46:13 2025 +0200

    drivers/serial/serial: typo fix in comment
    
    Signed-off-by: Kerogit <kr....@kerogit.eu>
---
 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