diff options
author | Christian Pointner <equinox@spreadspace.org> | 2017-08-25 20:29:14 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2017-08-25 20:29:14 +0200 |
commit | fa226809b09ee675b2fdd40e37f25a5b8ae2a79e (patch) | |
tree | 7ed6528d76c0dc8116ffc488f2167b5c9f9c68f3 | |
parent | vusb-led example works now (diff) |
fix led lib init
-rw-r--r-- | lib/led.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -107,7 +107,7 @@ void led_init(void) { #if NUM_LEDS >= 1 led_off(); - LED_DDR = 1<<LED_PINNUM; + LED_DDR |= 1<<LED_PINNUM; #if NUM_LEDS >= 2 LED2_DDR |= 1<<LED2_PINNUM; #endif |