summaryrefslogtreecommitdiff
path: root/software
diff options
context:
space:
mode:
authorChristian Pointner <equinox@mur.at>2012-05-15 18:10:23 +0000
committerChristian Pointner <equinox@mur.at>2012-05-15 18:10:23 +0000
commit8968339cd16c5a49cb1f2e5b5c1790ae2afd16c6 (patch)
tree8ca03ede2681c35bf964d630d563c0b4b3423be2 /software
parentsome sample combinations for new satelltite shape (diff)
fixed led output lib
git-svn-id: https://svn.spreadspace.org/mur.sat@408 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software')
-rw-r--r--software/hhd70dongle/led.c2
-rw-r--r--software/teensy.include.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/software/hhd70dongle/led.c b/software/hhd70dongle/led.c
index 5f4cb02..d24af16 100644
--- a/software/hhd70dongle/led.c
+++ b/software/hhd70dongle/led.c
@@ -36,7 +36,7 @@
void led_init(void)
{
PORTE = 0x00;
- DDRE = 0x00;
+ DDRE = 1<<PORTE6;
}
void led_on(void)
diff --git a/software/teensy.include.mk b/software/teensy.include.mk
index 64f86a6..a6c5dc9 100644
--- a/software/teensy.include.mk
+++ b/software/teensy.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 $<