From 8541c165c9fa5d69c4b2a776a419d3ddd3382d23 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 20 Dec 2009 22:24:02 +0000 Subject: 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 --- nuttx/arch/hc/src/common/up_udelay.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nuttx/arch/hc/src/common/up_udelay.c') 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 +#include #include /**************************************************************************** @@ -84,7 +85,7 @@ * ****************************************************************************/ -void up_udelay(unsigned int microseconds) +void up_udelay(useconds_t microseconds) { volatile int i; -- cgit v1.2.3