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/demo9s12ne64 | |
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/demo9s12ne64')
-rwxr-xr-x | nuttx/configs/demo9s12ne64/include/board.h | 5 | ||||
-rwxr-xr-x | nuttx/configs/demo9s12ne64/src/demo9s12ne64.h | 1 | ||||
-rwxr-xr-x | nuttx/configs/demo9s12ne64/src/up_boot.c | 1 | ||||
-rwxr-xr-x | nuttx/configs/demo9s12ne64/src/up_buttons.c | 5 | ||||
-rwxr-xr-x | nuttx/configs/demo9s12ne64/src/up_leds.c | 3 | ||||
-rwxr-xr-x | nuttx/configs/demo9s12ne64/src/up_nsh.c | 1 | ||||
-rwxr-xr-x | nuttx/configs/demo9s12ne64/src/up_spi.c | 7 |
7 files changed, 10 insertions, 13 deletions
diff --git a/nuttx/configs/demo9s12ne64/include/board.h b/nuttx/configs/demo9s12ne64/include/board.h index 68bb15acf..5cc401461 100755 --- a/nuttx/configs/demo9s12ne64/include/board.h +++ b/nuttx/configs/demo9s12ne64/include/board.h @@ -43,10 +43,9 @@ #include <nuttx/config.h> #ifndef __ASSEMBLY__ -# include <sys/types.h> +# include <stdint.h> #endif - /************************************************************************************ * Definitions ************************************************************************************/ @@ -110,7 +109,7 @@ EXTERN void hcs12_boardinitialize(void); #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/demo9s12ne64/src/demo9s12ne64.h b/nuttx/configs/demo9s12ne64/src/demo9s12ne64.h index 6d6589e1e..4ce8b46aa 100755 --- a/nuttx/configs/demo9s12ne64/src/demo9s12ne64.h +++ b/nuttx/configs/demo9s12ne64/src/demo9s12ne64.h @@ -43,7 +43,6 @@ #include <nuttx/config.h>
#include <nuttx/compiler.h>
-#include <sys/types.h>
/************************************************************************************
* Definitions
diff --git a/nuttx/configs/demo9s12ne64/src/up_boot.c b/nuttx/configs/demo9s12ne64/src/up_boot.c index 6b5c68886..18bf2b774 100755 --- a/nuttx/configs/demo9s12ne64/src/up_boot.c +++ b/nuttx/configs/demo9s12ne64/src/up_boot.c @@ -39,7 +39,6 @@ ************************************************************************************/
#include <nuttx/config.h>
-#include <sys/types.h>
#include <debug.h>
diff --git a/nuttx/configs/demo9s12ne64/src/up_buttons.c b/nuttx/configs/demo9s12ne64/src/up_buttons.c index cd669109d..fa015585d 100755 --- a/nuttx/configs/demo9s12ne64/src/up_buttons.c +++ b/nuttx/configs/demo9s12ne64/src/up_buttons.c @@ -38,7 +38,8 @@ ****************************************************************************/ #include <nuttx/config.h> -#include <sys/types.h> + +#include <stdint.h> #include <arch/board/board.h> #include "demo9s12ne64.h" @@ -73,7 +74,7 @@ void up_buttoninit(void) * Name: up_buttons ****************************************************************************/ -ubyte up_buttons(void) +uint8_t up_buttons(void) { return 0; } diff --git a/nuttx/configs/demo9s12ne64/src/up_leds.c b/nuttx/configs/demo9s12ne64/src/up_leds.c index d7bc586b6..f84f83cdd 100755 --- a/nuttx/configs/demo9s12ne64/src/up_leds.c +++ b/nuttx/configs/demo9s12ne64/src/up_leds.c @@ -39,7 +39,6 @@ ****************************************************************************/ #include <nuttx/config.h> -#include <sys/types.h> #include <debug.h> @@ -48,7 +47,7 @@ #include "demo9s12ne64.h" /**************************************************************************** - * Definitions + * Pre-processor Definitions ****************************************************************************/ /* Enables debug output from this file (needs CONFIG_DEBUG with diff --git a/nuttx/configs/demo9s12ne64/src/up_nsh.c b/nuttx/configs/demo9s12ne64/src/up_nsh.c index 7884af109..fa35a3067 100755 --- a/nuttx/configs/demo9s12ne64/src/up_nsh.c +++ b/nuttx/configs/demo9s12ne64/src/up_nsh.c @@ -39,7 +39,6 @@ ****************************************************************************/ #include <nuttx/config.h> -#include <sys/types.h> #include <stdio.h> #include <debug.h> diff --git a/nuttx/configs/demo9s12ne64/src/up_spi.c b/nuttx/configs/demo9s12ne64/src/up_spi.c index 12dc0a7a8..5f33d0776 100755 --- a/nuttx/configs/demo9s12ne64/src/up_spi.c +++ b/nuttx/configs/demo9s12ne64/src/up_spi.c @@ -39,8 +39,9 @@ ************************************************************************************/ #include <nuttx/config.h> -#include <sys/types.h> +#include <stdint.h> +#include <stdbool.h> #include <debug.h> #include <nuttx/spi.h> @@ -117,11 +118,11 @@ void weak_function hcs12_spiinitialize(void) * ****************************************************************************/ -void hcs12_spiselect(FAR struct spi_dev_s *dev, enum spi_dev_e devid, boolean selected) +void hcs12_spiselect(FAR struct spi_dev_s *dev, enum spi_dev_e devid, bool selected) { } -ubyte hcs12_spistatus(FAR struct spi_dev_s *dev, enum spi_dev_e devid) +uint8_t hcs12_spistatus(FAR struct spi_dev_s *dev, enum spi_dev_e devid) { return SPI_STATUS_PRESENT; } |