Standardize naming of user LEDs interface functions

This commit is contained in:
Gregory Nutt
2015-11-01 12:45:58 -06:00
parent f56ed529e5
commit b28bd72a48
113 changed files with 642 additions and 723 deletions
+7 -7
View File
@@ -1,7 +1,7 @@
/****************************************************************************
* configs/arduino-due/src/sam_userleds.c
*
* Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Copyright (C) 2013, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -88,10 +88,10 @@
****************************************************************************/
/****************************************************************************
* Name: sam_ledinit
* Name: board_userled_initialize
****************************************************************************/
void sam_ledinit(void)
void board_userled_initialize(void)
{
/* Configure LED1-2 GPIOs for output */
@@ -101,10 +101,10 @@ void sam_ledinit(void)
}
/****************************************************************************
* Name: sam_setled
* Name: board_userled
****************************************************************************/
void sam_setled(int led, bool ledon)
void board_userled(int led, bool ledon)
{
uint32_t ledcfg;
@@ -131,10 +131,10 @@ void sam_setled(int led, bool ledon)
}
/****************************************************************************
* Name: sam_setleds
* Name: board_userled_all
****************************************************************************/
void sam_setleds(uint8_t ledset)
void board_userled_all(uint8_t ledset)
{
bool ledon;