summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.