Eliminate warning

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2806 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2010-07-16 20:01:16 +00:00
parent 703091be5a
commit a288761359
3 changed files with 19 additions and 3 deletions

View File

@ -2,7 +2,7 @@
* configs/eagle100/src/eagle100_internal.h * configs/eagle100/src/eagle100_internal.h
* arch/arm/src/board/eagle100_internal.n * arch/arm/src/board/eagle100_internal.n
* *
* Copyright (C) 2009 Gregory Nutt. All rights reserved. * Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -89,6 +89,18 @@
extern void weak_function lm3s_ssiinitialize(void); extern void weak_function lm3s_ssiinitialize(void);
/****************************************************************************
* Name: up_ledinit
*
* Description:
* Initialize on-board LEDs.
*
****************************************************************************/
#ifdef CONFIG_ARCH_LEDS
extern void up_ledinit(void);
#endif
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
#endif /* __CONFIGS_EAGLE100_SRC_EAGLE100_INTERNAL_H */ #endif /* __CONFIGS_EAGLE100_SRC_EAGLE100_INTERNAL_H */

View File

@ -2,7 +2,7 @@
* configs/eagle100/src/up_boot.c * configs/eagle100/src/up_boot.c
* arch/arm/src/board/up_boot.c * arch/arm/src/board/up_boot.c
* *
* Copyright (C) 2009 Gregory Nutt. All rights reserved. * Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without

View File

@ -2,7 +2,7 @@
* configs/eagle100/src/up_leds.c * configs/eagle100/src/up_leds.c
* arch/arm/src/board/up_leds.c * arch/arm/src/board/up_leds.c
* *
* Copyright (C) 2009 Gregory Nutt. All rights reserved. * Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -93,6 +93,10 @@ static uint8_t g_nest;
/**************************************************************************** /****************************************************************************
* Name: up_ledinit * Name: up_ledinit
*
* Description:
* Initialize on-board LEDs.
*
****************************************************************************/ ****************************************************************************/
#ifdef CONFIG_ARCH_LEDS #ifdef CONFIG_ARCH_LEDS