diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-15 14:25:14 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-15 14:25:14 +0000 |
commit | 329bf67f0c4b6beb77e5856c8038a3202909be58 (patch) | |
tree | d607f3c7db4e8415665c0ef9c35bc5cbc287b971 /nuttx/drivers/serial/serialirq.c | |
parent | 2b8c1142b851c7a81eafe69ed35c490f3d9c6735 (diff) | |
download | px4-nuttx-329bf67f0c4b6beb77e5856c8038a3202909be58.tar.gz px4-nuttx-329bf67f0c4b6beb77e5856c8038a3202909be58.tar.bz2 px4-nuttx-329bf67f0c4b6beb77e5856c8038a3202909be58.zip |
Changing NuttX fixed size type names to C99 standard names -- things will be broken for awhile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2343 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/serial/serialirq.c')
-rw-r--r-- | nuttx/drivers/serial/serialirq.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/nuttx/drivers/serial/serialirq.c b/nuttx/drivers/serial/serialirq.c index a4ce80944..bc79adc47 100644 --- a/nuttx/drivers/serial/serialirq.c +++ b/nuttx/drivers/serial/serialirq.c @@ -1,7 +1,7 @@ /************************************************************************************ * drivers/serial/serialirq.c * - * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. + * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -38,13 +38,15 @@ ************************************************************************************/ #include <nuttx/config.h> + #include <sys/types.h> +#include <stdint.h> #include <semaphore.h> #include <debug.h> #include <nuttx/serial.h> /************************************************************************************ - * Definitions + * Pre-processor Definitions ************************************************************************************/ /************************************************************************************ @@ -80,7 +82,7 @@ void uart_xmitchars(FAR uart_dev_t *dev) { - uint16 nbytes = 0; + uint16_t nbytes = 0; /* Send while we still have data & room in the fifo */ @@ -133,7 +135,7 @@ void uart_recvchars(FAR uart_dev_t *dev) { unsigned int status; int nexthead = dev->recv.head + 1; - uint16 nbytes = 0; + uint16_t nbytes = 0; if (nexthead >= dev->recv.size) { |