aboutsummaryrefslogtreecommitdiff
path: root/nuttx/drivers
diff options
context:
space:
mode:
authorpx4dev <px4@purgatory.org>2013-01-01 19:39:17 -0800
committerpx4dev <px4@purgatory.org>2013-01-01 19:39:17 -0800
commiteaf1d8063cc707b1041e8583663d9edd45f42c5d (patch)
tree0a813a8861af8b5f95c52a90b677d82f1d080308 /nuttx/drivers
parentdc50d96b5d8042b6ffd54051f17cca0dc0dbb27d (diff)
downloadpx4-firmware-eaf1d8063cc707b1041e8583663d9edd45f42c5d.tar.gz
px4-firmware-eaf1d8063cc707b1041e8583663d9edd45f42c5d.tar.bz2
px4-firmware-eaf1d8063cc707b1041e8583663d9edd45f42c5d.zip
Build system updates to match the NuttX merge.
Diffstat (limited to 'nuttx/drivers')
-rw-r--r--nuttx/drivers/serial/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/drivers/serial/serial.c b/nuttx/drivers/serial/serial.c
index 84e9bdf2a..682c1599f 100644
--- a/nuttx/drivers/serial/serial.c
+++ b/nuttx/drivers/serial/serial.c
@@ -254,7 +254,7 @@ static inline ssize_t uart_irqwrite(FAR uart_dev_t *dev, FAR const char *buffer,
{
int ch = *buffer++;
- /* assume that this is console text output and always do \n -> \r\n conversion */
+ /* If this is the console, then we should replace LF with CR-LF */
if (ch == '\n')
{