Skip to content

Commit

Permalink
Invert logo LED.
Browse files Browse the repository at this point in the history
Apparently the transistor in my frontpanel is broken.
I bypassed it with a 0-Ohm resistor but now the logic
is inverted.
  • Loading branch information
vogelchr committed Sep 8, 2012
1 parent 27394f3 commit e83453e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cobalt_leds.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ void cobalt_leds_init(){
}

void cobalt_leds_set(uint8_t leds){
leds ^= (COBALT_LED_DISK | COBALT_LED_NET);
leds ^= (COBALT_LED_DISK | COBALT_LED_NET | COBALT_LED_LOGO );

cli();
/* Web, Disk, Logo on portb, not inverted */
Expand Down

0 comments on commit e83453e

Please sign in to comment.