summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--blink/led.c2
-rw-r--r--include.mk2
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)
diff --git a/include.mk b/include.mk
index 64f86a6..a6c5dc9 100644
--- a/include.mk
+++ b/include.mk
@@ -97,7 +97,7 @@ clean:
rm -f $(HEXFILE)
erase:
- $(DFU) $(MCU) erase | true
+ $(DFU) $(MCU) erase || true
program: $(HEXFILE) erase
$(DFU) $(MCU) flash $<