From 0f47d350019773a57706b03af5af7440d06840d9 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Mon, 10 Oct 2011 00:20:18 +0200 Subject: Remove various LED calls. --- main.cpp | 2 -- ppmsum.cpp | 7 ------- 2 files changed, 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. -- cgit v1.2.3