Remove prototypes for all user LED interfaces from board.h header files

This commit is contained in:
Gregory Nutt
2015-11-01 10:53:34 -06:00
parent 893bd9c7b5
commit f56ed529e5
55 changed files with 176 additions and 1015 deletions
+2 -18
View File
@@ -125,7 +125,7 @@
* way. The following definitions are used to access individual LEDs.
*/
/* LED index values for use with stm32_setled() */
/* LED index values for use with board_userled() */
#define BOARD_LED1 0
#define BOARD_LED2 1
@@ -133,7 +133,7 @@
#define BOARD_LED4 3
#define BOARD_NLEDS 4
/* LED bits for use with stm32_setleds() */
/* LED bits for use with board_userled_all() */
#define BOARD_LED1_BIT (1 << BOARD_LED1)
#define BOARD_LED2_BIT (1 << BOARD_LED2)
@@ -322,22 +322,6 @@ extern "C" {
void stm32_boardinitialize(void);
/************************************************************************************
* Name: stm32_ledinit, stm32_setled, and stm32_setleds
*
* Description:
* If CONFIG_ARCH_LEDS is defined, then NuttX will control the on-board LEDs. If
* CONFIG_ARCH_LEDS is not defined, then the following interfacesare available to
* control the LEDs from user applications.
*
************************************************************************************/
#ifndef CONFIG_ARCH_LEDS
void stm32_ledinit(void);
void stm32_setled(int led, bool ledon);
void stm32_setleds(uint8_t ledset);
#endif
/************************************************************************************
* Name: stm32_lcdclear
*