From 8c6c00898df6eb27e90d7403bb49136d81c9f55a Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 22 Jul 2015 14:09:56 -0600 Subject: [PATCH] Eliminate a warning detected by nuttx/tools/testbuild.sh --- configs/sam4s-xplained/src/sam_buttons.c | 2 ++ configs/viewtool-stm32f107/src/viewtool_stm32f107.h | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/configs/sam4s-xplained/src/sam_buttons.c b/configs/sam4s-xplained/src/sam_buttons.c index 79a279e814..56e523e19d 100644 --- a/configs/sam4s-xplained/src/sam_buttons.c +++ b/configs/sam4s-xplained/src/sam_buttons.c @@ -61,7 +61,9 @@ * Private Data ****************************************************************************/ +#if defined(CONFIG_SAM34_GPIOA_IRQ) && defined(CONFIG_ARCH_IRQBUTTONS) static xcpt_t g_irqbp2; +#endif /**************************************************************************** * Private Functions diff --git a/configs/viewtool-stm32f107/src/viewtool_stm32f107.h b/configs/viewtool-stm32f107/src/viewtool_stm32f107.h index bd984ab1db..9ee6eabdd5 100644 --- a/configs/viewtool-stm32f107/src/viewtool_stm32f107.h +++ b/configs/viewtool-stm32f107/src/viewtool_stm32f107.h @@ -301,6 +301,16 @@ void weak_function stm32_spiinitialize(void); +/**************************************************************************** + * Name: stm32_ledinit + * + * Description: + * Configure LEDs. LEDs are left in the OFF state. + * + ****************************************************************************/ + +void stm32_ledinit(void); + /************************************************************************************ * Name: stm32_usbdev_initialize *