diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-20 22:24:02 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-20 22:24:02 +0000 |
commit | 8541c165c9fa5d69c4b2a776a419d3ddd3382d23 (patch) | |
tree | 44927c1ff79c9e7d315fd8ce89901925b3237f25 /nuttx/arch/arm/src/common/up_udelay.c | |
parent | 013592c5c4b9865297e61b5a5828dbe4107e5be5 (diff) | |
download | px4-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/arm/src/common/up_udelay.c')
-rw-r--r-- | nuttx/arch/arm/src/common/up_udelay.c | 3 |
1 files changed, 2 insertions, 1 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; |