summaryrefslogtreecommitdiff
path: root/nuttx/arch
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
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')
-rw-r--r--nuttx/arch/arm/src/common/up_udelay.c3
-rwxr-xr-xnuttx/arch/hc/src/common/up_udelay.c3
-rw-r--r--nuttx/arch/sh/src/common/up_udelay.c3
-rw-r--r--nuttx/arch/z16/src/common/up_udelay.c3
-rw-r--r--nuttx/arch/z80/src/common/up_udelay.c3
5 files changed, 10 insertions, 5 deletions
diff --git a/nuttx/arch/arm/src/common/up_udelay.c b/nuttx/arch/arm/src/common/up_udelay.c
index 2db0388f2..d2d5b74d9 100644
--- a/nuttx/arch/arm/src/common/up_udelay.c
+++ b/nuttx/arch/arm/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;
diff --git a/nuttx/arch/hc/src/common/up_udelay.c b/nuttx/arch/hc/src/common/up_udelay.c
index c27f9e76e..812390f87 100755
--- a/nuttx/arch/hc/src/common/up_udelay.c
+++ b/nuttx/arch/hc/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;
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;
diff --git a/nuttx/arch/z16/src/common/up_udelay.c b/nuttx/arch/z16/src/common/up_udelay.c
index 18b176302..f909eb18c 100644
--- a/nuttx/arch/z16/src/common/up_udelay.c
+++ b/nuttx/arch/z16/src/common/up_udelay.c
@@ -38,6 +38,7 @@
****************************************************************************/
#include <nuttx/config.h>
+#include <sys/types.h>
#include <nuttx/arch.h>
#ifdef CONFIG_BOARD_LOOPSPERMSEC
@@ -86,7 +87,7 @@
*
****************************************************************************/
-void up_udelay(unsigned int microseconds)
+void up_udelay(useconds_t microseconds)
{
volatile int i;
diff --git a/nuttx/arch/z80/src/common/up_udelay.c b/nuttx/arch/z80/src/common/up_udelay.c
index 98c409cb6..06faa9a80 100644
--- a/nuttx/arch/z80/src/common/up_udelay.c
+++ b/nuttx/arch/z80/src/common/up_udelay.c
@@ -38,6 +38,7 @@
****************************************************************************/
#include <nuttx/config.h>
+#include <sys/types.h>
#include <nuttx/arch.h>
#ifdef CONFIG_BOARD_LOOPSPERMSEC
@@ -86,7 +87,7 @@
*
****************************************************************************/
-void up_udelay(unsigned int microseconds)
+void up_udelay(useconds_t microseconds)
{
volatile int i;