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 -17
View File
@@ -67,14 +67,14 @@
* 4. LED4 TX_LED LCD1_D15/ATAD11/KP_IN5/SMC_VPPPP/EINT15/CSI1_D15/PH15
*/
/* LED index values for use with a1x_setled() */
/* LED index values for use with board_userled() */
#define BOARD_LED1 0
#define BOARD_LED3 1
#define BOARD_LED4 2
#define BOARD_NLEDS 3
/* LED bits for use with a1x_setleds() */
/* LED bits for use with board_userled_all() */
#define BOARD_LED1_BIT (1 << BOARD_LED1)
#define BOARD_LED3_BIT (1 << BOARD_LED3)
@@ -186,21 +186,6 @@ extern "C" {
void a1x_boardinitialize(void);
/************************************************************************************
* Name: a1x_setled, and a1x_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 interfaces are available to
* control the LEDs from user applications.
*
************************************************************************************/
#ifndef CONFIG_ARCH_LEDS
void a1x_setled(int led, bool ledon);
void a1x_setleds(uint8_t ledset);
#endif
#undef EXTERN
#if defined(__cplusplus)
}