summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2011-10-10 00:20:18 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2011-10-10 00:20:18 +0200
commit0f47d350019773a57706b03af5af7440d06840d9 (patch)
tree1f5092065cc11fabe16702564c353bc877bca2e1
parent44ef490e9a16b774af9b51c47e4f53c2265e5f44 (diff)
Remove various LED calls.
-rw-r--r--main.cpp2
-rw-r--r--ppmsum.cpp7
2 files changed, 0 insertions, 9 deletions
diff --git a/main.cpp b/main.cpp
index 1993489..b9a8c21 100644
--- a/main.cpp
+++ b/main.cpp
@@ -64,8 +64,6 @@ BMA150 accel(i2c);
void threadmain() {
while(1) {
- GPIOB.ODR ^= 1 << 1;
-
uint16_t buf[] = {
gyro.x,
gyro.y,
diff --git a/ppmsum.cpp b/ppmsum.cpp
index 506b964..2beaccb 100644
--- a/ppmsum.cpp
+++ b/ppmsum.cpp
@@ -16,13 +16,6 @@ void PPMSum::irq() {
int16_t sr = TIM1.SR;
TIM1.SR = 0;
- if(sr & 0x06) {
- GPIOB.ODR = 1 << 1;
- } else {
- GPIOB.ODR = 0;
- }
-
-
if(sr & 0x01) {
// Timeout.