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/src | |
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/src')
-rw-r--r-- | nuttx/configs/us7032evb1/src/up_leds.c | 10 |
1 files changed, 5 insertions, 5 deletions
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) { |