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
+4 -19
View File
@@ -202,12 +202,12 @@
* Both can be illuminated by driving the GPIO output to ground (low).
*/
/* LED index values for use with sam_setled() */
/* LED index values for use with board_userled() */
#define BOARD_D301 0
#define BOARD_NLEDS 1
/* LED bits for use with sam_setleds() */
/* LED bits for use with board_userled_all() */
#define BOARD_D301_BIT (1 << BOARD_D301)
@@ -260,7 +260,8 @@
#undef EXTERN
#if defined(__cplusplus)
#define EXTERN extern "C"
extern "C" {
extern "C"
{
#else
#define EXTERN extern
#endif
@@ -280,22 +281,6 @@ extern "C" {
void sam_boardinitialize(void);
/************************************************************************************
* Name: sam_ledinit, sam_setled, and sam_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 sam_ledinit(void);
void sam_setled(int led, bool ledon);
void sam_setleds(uint8_t ledset);
#endif
#undef EXTERN
#if defined(__cplusplus)
}