diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-16 16:28:31 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-16 16:28:31 +0000 |
commit | c33cfd52449fc6c1b9211cb45618a77b544876e6 (patch) | |
tree | 4c6a9b7e711b34da34e9878e08d63c8c1dd14be5 /nuttx/arch/pjrc-8051/src/up_idle.c | |
parent | f8a2fb3042d58963a00fe808d18f84eec6a0be71 (diff) | |
download | px4-nuttx-c33cfd52449fc6c1b9211cb45618a77b544876e6.tar.gz px4-nuttx-c33cfd52449fc6c1b9211cb45618a77b544876e6.tar.bz2 px4-nuttx-c33cfd52449fc6c1b9211cb45618a77b544876e6.zip |
Changing NuttX fixed size type names to C99 standard names -- things will be broken for awhile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2358 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/pjrc-8051/src/up_idle.c')
-rw-r--r-- | nuttx/arch/pjrc-8051/src/up_idle.c | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/nuttx/arch/pjrc-8051/src/up_idle.c b/nuttx/arch/pjrc-8051/src/up_idle.c index 7c9ebc040..802e684be 100644 --- a/nuttx/arch/pjrc-8051/src/up_idle.c +++ b/nuttx/arch/pjrc-8051/src/up_idle.c @@ -1,7 +1,7 @@ /************************************************************ * up_idle.c * - * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -14,7 +14,7 @@ * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. - * 3. Neither the name Gregory Nutt nor the names of its contributors may be + * 3. Neither the name NuttX nor the names of its contributors may be * used to endorse or promote products derived from this software * without specific prior written permission. * @@ -31,36 +31,38 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************/ + ************************************************************************/ /************************************************************ * Included Files - ************************************************************/ + ************************************************************************/ #include <nuttx/config.h> -#include <sys/types.h> + +#include <stdint.h> #include <nuttx/arch.h> + #include "up_internal.h" /************************************************************ * Private Definitions - ************************************************************/ + ************************************************************************/ /************************************************************ * Private Data - ************************************************************/ + ************************************************************************/ #if defined(CONFIG_ARCH_LEDS) && defined(CONFIG_ARCH_BRINGUP) -static ubyte g_ledtoggle = 0; +static /**************** g_ledtoggle = 0; #endif /************************************************************ * Private Functions - ************************************************************/ + ************************************************************************/ /************************************************************ * Public Functions - ************************************************************/ + ************************************************************************/ /************************************************************ * Name: up_idle @@ -75,7 +77,7 @@ static ubyte g_ledtoggle = 0; * this is where power management operations might be * performed. * - ************************************************************/ + ************************************************************************/ void up_idle(void) { |