42 static unsigned char leds;
57 leds_arch_set(
unsigned char l)
61 for(i = 0; i < 8 && ((1 << i) & LEDS_ALL); i++) {
62 if(((1 << i) & leds) && !((1 << i) & l)) {
63 printf(
"LED %d OFF\n", i);
64 }
else if(!((1 << i) & leds) && ((1 << i) & l)) {
65 printf(
"LED %d ON\n", i);
void leds_arch_init(void)
Leds implementation.