diff options
-rw-r--r-- | blink/led.c | 2 | ||||
-rw-r--r-- | include.mk | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/blink/led.c b/blink/led.c index 5f4cb02..d24af16 100644 --- a/blink/led.c +++ b/blink/led.c @@ -36,7 +36,7 @@ void led_init(void) { PORTE = 0x00; - DDRE = 0x00; + DDRE = 1<<PORTE6; } void led_on(void) @@ -97,7 +97,7 @@ clean: rm -f $(HEXFILE) erase: - $(DFU) $(MCU) erase | true + $(DFU) $(MCU) erase || true program: $(HEXFILE) erase $(DFU) $(MCU) flash $< |