diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-05-12 17:42:01 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-05-12 17:42:01 +0000 |
commit | 9e52f60313290f0b6e17551e825094c117909690 (patch) | |
tree | 6b0b090c3ee973cf926eb1df0eb9d2636c5166a8 /nuttx/drivers/serial/serial.c | |
parent | 9319e9b53ca68435f0f7ea1c85ba1ac9e224f1e2 (diff) | |
download | px4-nuttx-9e52f60313290f0b6e17551e825094c117909690.tar.gz px4-nuttx-9e52f60313290f0b6e17551e825094c117909690.tar.bz2 px4-nuttx-9e52f60313290f0b6e17551e825094c117909690.zip |
First set of changes to incorporate the RGMP port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3595 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/serial/serial.c')
-rw-r--r-- | nuttx/drivers/serial/serial.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/drivers/serial/serial.c b/nuttx/drivers/serial/serial.c index 3fa3b43d3..3df4a4e18 100644 --- a/nuttx/drivers/serial/serial.c +++ b/nuttx/drivers/serial/serial.c @@ -1,7 +1,7 @@ /************************************************************************************ * drivers/serial/serial.c * - * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -169,7 +169,7 @@ static void uart_putxmitchar(FAR uart_dev_t *dev, int ch) nexthead = 0; } - for(;;) + for (;;) { if (nexthead != dev->xmit.tail) { @@ -271,7 +271,7 @@ static ssize_t uart_write(FAR struct file *filep, FAR const char *buffer, size_t uart_putxmitchar(dev, ch); - /* If this is the console, then we should replace LF with LF-CR */ + /* If this is the console, then we should replace LF with LF-CR */ if (dev->isconsole && ch == '\n') { |