summaryrefslogtreecommitdiff
path: root/nuttx/arch/sh/src
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-20 22:24:02 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-20 22:24:02 +0000
commit8541c165c9fa5d69c4b2a776a419d3ddd3382d23 (patch)
tree44927c1ff79c9e7d315fd8ce89901925b3237f25 /nuttx/arch/sh/src
parent013592c5c4b9865297e61b5a5828dbe4107e5be5 (diff)
downloadpx4-nuttx-8541c165c9fa5d69c4b2a776a419d3ddd3382d23.tar.gz
px4-nuttx-8541c165c9fa5d69c4b2a776a419d3ddd3382d23.tar.bz2
px4-nuttx-8541c165c9fa5d69c4b2a776a419d3ddd3382d23.zip
Argument to up_udelay() should be type useconds_t
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2400 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/sh/src')
-rw-r--r--nuttx/arch/sh/src/common/up_udelay.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/arch/sh/src/common/up_udelay.c b/nuttx/arch/sh/src/common/up_udelay.c
index 55d27305c..097cbb9e6 100644
--- a/nuttx/arch/sh/src/common/up_udelay.c
+++ b/nuttx/arch/sh/src/common/up_udelay.c
@@ -38,6 +38,7 @@
****************************************************************************/
#include <nuttx/config.h>
+#include <sys/types.h>
#include <nuttx/arch.h>
/****************************************************************************
@@ -84,7 +85,7 @@
*
****************************************************************************/
-void up_udelay(unsigned int microseconds)
+void up_udelay(useconds_t microseconds)
{
volatile int i;