From 8b47a53be49fecec1408ee5081f90c9be7b8c23e Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 16 Jul 2010 20:01:16 +0000 Subject: Eliminate warning git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2806 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/configs/eagle100/src/eagle100_internal.h | 14 +++++++++++++- nuttx/configs/eagle100/src/up_boot.c | 2 +- nuttx/configs/eagle100/src/up_leds.c | 6 +++++- 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/nuttx/configs/eagle100/src/eagle100_internal.h b/nuttx/configs/eagle100/src/eagle100_internal.h index 173f5e274..68a64bde1 100644 --- a/nuttx/configs/eagle100/src/eagle100_internal.h +++ b/nuttx/configs/eagle100/src/eagle100_internal.h @@ -2,7 +2,7 @@ * configs/eagle100/src/eagle100_internal.h * 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 * * Redistribution and use in source and binary forms, with or without @@ -89,6 +89,18 @@ 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 /* __CONFIGS_EAGLE100_SRC_EAGLE100_INTERNAL_H */ diff --git a/nuttx/configs/eagle100/src/up_boot.c b/nuttx/configs/eagle100/src/up_boot.c index a545f7e0d..61dab1653 100644 --- a/nuttx/configs/eagle100/src/up_boot.c +++ b/nuttx/configs/eagle100/src/up_boot.c @@ -2,7 +2,7 @@ * configs/eagle100/src/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 * * Redistribution and use in source and binary forms, with or without diff --git a/nuttx/configs/eagle100/src/up_leds.c b/nuttx/configs/eagle100/src/up_leds.c index c080bf674..e567955b3 100644 --- a/nuttx/configs/eagle100/src/up_leds.c +++ b/nuttx/configs/eagle100/src/up_leds.c @@ -2,7 +2,7 @@ * configs/eagle100/src/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 * * Redistribution and use in source and binary forms, with or without @@ -93,6 +93,10 @@ static uint8_t g_nest; /**************************************************************************** * Name: up_ledinit + * + * Description: + * Initialize on-board LEDs. + * ****************************************************************************/ #ifdef CONFIG_ARCH_LEDS -- cgit v1.2.3