Rename board_led_off to board_autoled_off

This commit is contained in:
Gregory Nutt
2015-11-01 09:10:08 -06:00
parent 78f19bbefb
commit 893bd9c7b5
99 changed files with 203 additions and 203 deletions
+2 -2
View File
@@ -182,10 +182,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
switch (led)
{
+2 -2
View File
@@ -83,10 +83,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
at32uc3_gpiowrite(PINMUX_GPIO_LED1, (led == 2));
at32uc3_gpiowrite(PINMUX_GPIO_LED2, false);
+2 -2
View File
@@ -96,10 +96,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
if (led < 8)
{
@@ -174,7 +174,7 @@ void board_autoled_on(int led)
* Name: up_ledoff
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
switch (led)
{
+2 -2
View File
@@ -378,10 +378,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
led_setonoff(OFF_BITS(g_ledbits[led]));
}
+2 -2
View File
@@ -96,10 +96,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
}
+2 -2
View File
@@ -121,10 +121,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
/* --------------- ------- ---- ----- --------------------
* STATE VALUE RED GREEN BLUE
+2 -2
View File
@@ -97,10 +97,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
}
+2 -2
View File
@@ -97,10 +97,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
}
+4 -4
View File
@@ -138,10 +138,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
switch (led)
{
@@ -158,9 +158,9 @@ void board_led_off(int led)
case LED_PANIC:
if (--g_nest <= 0)
{
led_dumpgpio("board_led_off: before tiva_gpiowrite()");
led_dumpgpio("board_autoled_off: before tiva_gpiowrite()");
tiva_gpiowrite(LED_GPIO, true);
led_dumpgpio("board_led_off: after tiva_gpiowrite()");
led_dumpgpio("board_autoled_off: after tiva_gpiowrite()");
}
break;
}
+2 -2
View File
@@ -248,10 +248,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
led_setonoff(OFF_BITS(g_ledbits[led]));
}
+2 -2
View File
@@ -161,10 +161,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
if (led != 2)
{
+4 -4
View File
@@ -135,10 +135,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
switch (led)
{
@@ -155,9 +155,9 @@ void board_led_off(int led)
case LED_PANIC:
if (--g_nest <= 0)
{
led_dumpgpio("board_led_off: before tiva_gpiowrite()");
led_dumpgpio("board_autoled_off: before tiva_gpiowrite()");
tiva_gpiowrite(LED_GPIO, true);
led_dumpgpio("board_led_off: after tiva_gpiowrite()");
led_dumpgpio("board_autoled_off: after tiva_gpiowrite()");
}
break;
}
+2 -2
View File
@@ -82,10 +82,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
}
#endif /* CONFIG_ARCH_LEDS */
+2 -2
View File
@@ -279,10 +279,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
if (led == LED_INIRQ)
{
+2 -2
View File
@@ -358,10 +358,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
led_setonoff(OFF_BITS(g_ledbits[led]));
}
+2 -2
View File
@@ -153,10 +153,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
if (led == LED_PANIC)
{
+2 -2
View File
@@ -153,10 +153,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
if (led == LED_PANIC)
{
+2 -2
View File
@@ -228,10 +228,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
led_setonoff(OFF_BITS(g_ledbits[led]));
}
+2 -2
View File
@@ -95,10 +95,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
/* The KwikStik-K40 board has no MCU driven, GPIO-based LEDs */
}
+2 -2
View File
@@ -181,10 +181,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
/* In all states, OFF can only mean turning off the HB LED */
+4 -4
View File
@@ -135,10 +135,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
switch (led)
{
@@ -155,9 +155,9 @@ void board_led_off(int led)
case LED_PANIC:
if (--g_nest <= 0)
{
led_dumpgpio("board_led_off: before tiva_gpiowrite()");
led_dumpgpio("board_autoled_off: before tiva_gpiowrite()");
tiva_gpiowrite(LED1_GPIO, true);
led_dumpgpio("board_led_off: after tiva_gpiowrite()");
led_dumpgpio("board_autoled_off: after tiva_gpiowrite()");
}
break;
}
+4 -4
View File
@@ -134,10 +134,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
switch (led)
{
@@ -154,9 +154,9 @@ void board_led_off(int led)
case LED_PANIC:
if (--g_nest <= 0)
{
led_dumpgpio("board_led_off: before tiva_gpiowrite()");
led_dumpgpio("board_autoled_off: before tiva_gpiowrite()");
tiva_gpiowrite(LED_GPIO, true);
led_dumpgpio("board_led_off: after tiva_gpiowrite()");
led_dumpgpio("board_autoled_off: after tiva_gpiowrite()");
}
break;
}
+4 -4
View File
@@ -134,10 +134,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
switch (led)
{
@@ -154,9 +154,9 @@ void board_led_off(int led)
case LED_PANIC:
if (--g_nest <= 0)
{
led_dumpgpio("board_led_off: before tiva_gpiowrite()");
led_dumpgpio("board_autoled_off: before tiva_gpiowrite()");
tiva_gpiowrite(LED_GPIO, true);
led_dumpgpio("board_led_off: after tiva_gpiowrite()");
led_dumpgpio("board_autoled_off: after tiva_gpiowrite()");
}
break;
}
@@ -192,10 +192,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
switch (led)
{
+2 -2
View File
@@ -182,10 +182,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
switch (led)
{
+2 -2
View File
@@ -179,10 +179,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
switch (led)
{
+2 -2
View File
@@ -151,10 +151,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
switch (led)
{
+2 -2
View File
@@ -126,10 +126,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
bool off;
+2 -2
View File
@@ -126,10 +126,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
bool off;
+3 -3
View File
@@ -129,12 +129,12 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
ledvdbg("board_led_off(%d)\n", led);
ledvdbg("board_autoled_off(%d)\n", led);
switch (led)
{
+2 -2
View File
@@ -184,10 +184,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
/* In all states, OFF can only mean turning off the HB LED */
+2 -2
View File
@@ -106,10 +106,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
putled(LEDBIT(led),LED_SET_OFFSET);
}
+1 -1
View File
@@ -68,7 +68,7 @@
#if defined(CONFIG_ARCH_LEDS) && defined(LED_IDLE)
# define BEGIN_IDLE() board_autoled_on(LED_IDLE)
# define END_IDLE() board_led_off(LED_IDLE)
# define END_IDLE() board_autoled_off(LED_IDLE)
#else
# define BEGIN_IDLE()
# define END_IDLE()
+2 -2
View File
@@ -244,11 +244,11 @@ void board_autoled_on(int led)
#endif
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
#ifdef CONFIG_ARCH_LEDS
void board_led_off(int led)
void board_autoled_off(int led)
{
if ((unsigned)led < LED_NVALUES)
{
+2 -2
View File
@@ -147,10 +147,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
/* ON OFF
* LED_STARTED 0 OFF ON (never happens)
+2 -2
View File
@@ -96,10 +96,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
imxgpio_clroutput(GPIOA, 2); /* Port A, Bit 2 = 0 */
}
+2 -2
View File
@@ -134,10 +134,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
switch (led)
{
+2 -2
View File
@@ -89,10 +89,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
if (led == GIO_LED_GREEN)
{
+2 -2
View File
@@ -109,10 +109,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
if (led == BOARD_LED1)
{
+2 -2
View File
@@ -106,10 +106,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
if (led == 1)
{
+2 -2
View File
@@ -185,10 +185,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
/* In all states, OFF can only mean turning off the HB LED */
+2 -2
View File
@@ -137,10 +137,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
nuc_gpiowrite(GPIO_LED, true);
}
+2 -2
View File
@@ -144,7 +144,7 @@ void board_autoled_on(int led)
#endif
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
*
* Description:
* Select the "logical" OFF state:
@@ -165,7 +165,7 @@ void board_autoled_on(int led)
****************************************************************************/
#ifdef CONFIG_ARCH_LEDS
void board_led_off(int led)
void board_autoled_off(int led)
{
switch (led)
{
+2 -2
View File
@@ -181,11 +181,11 @@ void board_autoled_on(int led)
#endif
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
#ifdef CONFIG_ARCH_LEDS
void board_led_off(int led)
void board_autoled_off(int led)
{
switch (led)
{
+2 -2
View File
@@ -107,10 +107,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
putled8(LEDBIT(led), LED_CLR_OFFSET);
}
@@ -104,10 +104,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
if(led == LED_STARTED)
stm32_gpiowrite(GPIO_LED_STATUS, false);
@@ -173,10 +173,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
led_clrbits(g_ledbits[led]);
}
+2 -2
View File
@@ -176,10 +176,10 @@ void board_autoled_on(int led)
}
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
void board_led_off(int led)
void board_autoled_off(int led)
{
/* The Olimex board has only two LEDs, so following states are faked as
* follows
+2 -2
View File
@@ -180,11 +180,11 @@ void board_autoled_on(int led)
#endif
/****************************************************************************
* Name: board_led_off
* Name: board_autoled_off
****************************************************************************/
#ifdef CONFIG_ARCH_LEDS
void board_led_off(int led)
void board_autoled_off(int led)
{
switch (led)
{

Some files were not shown because too many files have changed in this diff Show More