Fix nxstyle errors
This commit is contained in:
parent
4fce224ac1
commit
73fc43770a
@ -69,7 +69,7 @@ void board_autoled_initialize(void)
|
|||||||
|
|
||||||
void board_autoled_on(int led)
|
void board_autoled_on(int led)
|
||||||
{
|
{
|
||||||
ledinfo("board_autoled_on(%d)\n",led);
|
ledinfo("board_autoled_on(%d)\n", led);
|
||||||
|
|
||||||
switch (led)
|
switch (led)
|
||||||
{
|
{
|
||||||
@ -83,6 +83,7 @@ void board_autoled_on(int led)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case LED_PANIC:
|
case LED_PANIC:
|
||||||
|
|
||||||
/* For panic state, the LED is blinking */
|
/* For panic state, the LED is blinking */
|
||||||
|
|
||||||
set_led(true);
|
set_led(true);
|
||||||
@ -99,6 +100,7 @@ void board_autoled_off(int led)
|
|||||||
switch (led)
|
switch (led)
|
||||||
{
|
{
|
||||||
case LED_PANIC:
|
case LED_PANIC:
|
||||||
|
|
||||||
/* For panic state, the LED is blinking */
|
/* For panic state, the LED is blinking */
|
||||||
|
|
||||||
set_led(false);
|
set_led(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user