summaryrefslogtreecommitdiff
path: root/nuttx/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/drivers')
-rw-r--r--nuttx/drivers/serial/serialirq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/drivers/serial/serialirq.c b/nuttx/drivers/serial/serialirq.c
index bc79adc47..18bca2e0c 100644
--- a/nuttx/drivers/serial/serialirq.c
+++ b/nuttx/drivers/serial/serialirq.c
@@ -142,8 +142,8 @@ void uart_recvchars(FAR uart_dev_t *dev)
nexthead = 0;
}
- /* Loop putting characters into the receive buffer until eithe: (1) the buffer
- * is full, or (2) there are not further characters to add.
+ /* Loop putting characters into the receive buffer until either: (1) the buffer
+ * is full, or (2) there are no further characters to add.
*/
while (nexthead != dev->recv.tail && uart_rxavailable(dev))