diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-15 20:56:22 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-15 20:56:22 +0000 |
commit | 1375e4917dc9f9ec7ad488fa83c23d94a1053de9 (patch) | |
tree | cc9f00d272faed8cca17c115086ef4f542beec34 /nuttx/configs/us7032evb1 | |
parent | 08b2e5a5495fb08277274eaaf91c21069e0fbadf (diff) | |
download | px4-nuttx-1375e4917dc9f9ec7ad488fa83c23d94a1053de9.tar.gz px4-nuttx-1375e4917dc9f9ec7ad488fa83c23d94a1053de9.tar.bz2 px4-nuttx-1375e4917dc9f9ec7ad488fa83c23d94a1053de9.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@2352 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/us7032evb1')
-rw-r--r-- | nuttx/configs/us7032evb1/include/board.h | 6 | ||||
-rw-r--r-- | nuttx/configs/us7032evb1/shterm/shterm.c | 3 | ||||
-rw-r--r-- | nuttx/configs/us7032evb1/src/up_leds.c | 10 |
3 files changed, 9 insertions, 10 deletions
diff --git a/nuttx/configs/us7032evb1/include/board.h b/nuttx/configs/us7032evb1/include/board.h index d674dddd2..c0d03aad5 100644 --- a/nuttx/configs/us7032evb1/include/board.h +++ b/nuttx/configs/us7032evb1/include/board.h @@ -1,7 +1,7 @@ /**************************************************************************** * configs/us7032evb1/include/board.h * - * Copyright (C) 2008 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -41,7 +41,7 @@ ****************************************************************************/ #ifndef __ASSEMBLY__ -# include <sys/types.h> +# include <stdint.h> #endif #include "chip.h" @@ -88,7 +88,7 @@ extern "C" { #ifdef CONFIG_ARCH_BUTTONS EXTERN void up_buttoninit(void); -EXTERN ubyte up_buttons(void); +EXTERN uint8_t up_buttons(void); #endif #undef EXTERN diff --git a/nuttx/configs/us7032evb1/shterm/shterm.c b/nuttx/configs/us7032evb1/shterm/shterm.c index 0bd2b8070..0a1e143b1 100644 --- a/nuttx/configs/us7032evb1/shterm/shterm.c +++ b/nuttx/configs/us7032evb1/shterm/shterm.c @@ -1,7 +1,7 @@ /**************************************************************************** * config/us7032evb1/shterm/shterm.c * - * Copyright(C) 2008 Gregory Nutt. All rights reserved. + * Copyright(C) 2008-2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -37,7 +37,6 @@ * Included Files ****************************************************************************/ -#include <sys/types.h> #include <sys/stat.h> #include <stdio.h> #include <stdlib.h> diff --git a/nuttx/configs/us7032evb1/src/up_leds.c b/nuttx/configs/us7032evb1/src/up_leds.c index f713c064a..4d6e213db 100644 --- a/nuttx/configs/us7032evb1/src/up_leds.c +++ b/nuttx/configs/us7032evb1/src/up_leds.c @@ -1,7 +1,7 @@ /**************************************************************************** * configs/us7032evb1/src/up_leds.c * - * Copyright (C) 2008 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -38,7 +38,7 @@ ****************************************************************************/ #include <nuttx/config.h> -#include <sys/types.h> +#include <stdint.h> #include "chip.h" #include "up_arch.h" @@ -76,7 +76,7 @@ #ifdef CONFIG_ARCH_LEDS void up_ledinit(void) { - uint16 reg16; + uint16_t reg16; /* Setup port B, pin 15 as an output */ @@ -103,7 +103,7 @@ void up_ledinit(void) void up_ledon(int led) { - uint16 reg16; + uint16_t reg16; if (led) { @@ -121,7 +121,7 @@ void up_ledon(int led) void up_ledoff(int led) { - uint16 reg16; + uint16_t reg16; if (led) { |