From 1375e4917dc9f9ec7ad488fa83c23d94a1053de9 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 15 Dec 2009 20:56:22 +0000 Subject: 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 --- nuttx/configs/us7032evb1/include/board.h | 6 +++--- nuttx/configs/us7032evb1/shterm/shterm.c | 3 +-- nuttx/configs/us7032evb1/src/up_leds.c | 10 +++++----- 3 files changed, 9 insertions(+), 10 deletions(-) (limited to 'nuttx/configs/us7032evb1') 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 * * Redistribution and use in source and binary forms, with or without @@ -41,7 +41,7 @@ ****************************************************************************/ #ifndef __ASSEMBLY__ -# include +# include #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 * * Redistribution and use in source and binary forms, with or without @@ -37,7 +37,6 @@ * Included Files ****************************************************************************/ -#include #include #include #include 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 * * Redistribution and use in source and binary forms, with or without @@ -38,7 +38,7 @@ ****************************************************************************/ #include -#include +#include #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) { -- cgit v1.2.3