Exemple #1
0
void board_led_off(int led)
{
  if ((unsigned)led < LED_NVALUES)
    {
      up_setleds(&g_ledoffvalues[led]);
    }
}
Exemple #2
0
void up_ledoff(int led)
{
  if (led < LED_NVALUES)
    {
      up_setleds(&g_ledoffvalues[led]);
    }
}
void up_ledon(int led)
{
  if ((unsigned)led < LED_NVALUES)
    {
      up_setleds(&g_ledonvalues[led]);
    }
}