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
This commit is contained in:
patacongo 2009-12-20 22:24:02 +00:00
parent 92d4cb28f9
commit 43c18e6e70
6 changed files with 11 additions and 6 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -460,7 +460,7 @@ EXTERN int up_prioritize_irq(int irq, int priority);
***************************************************************************/
EXTERN void up_mdelay(unsigned int milliseconds);
EXTERN void up_udelay(unsigned int microseconds);
EXTERN void up_udelay(useconds_t microseconds);
/****************************************************************************
* Name: up_fbinitialize, up_fbuninitialize, up_fbgetvplane