diff options
-rw-r--r-- | main.cpp | 2 | ||||
-rw-r--r-- | ppmsum.cpp | 7 |
2 files changed, 0 insertions, 9 deletions
@@ -64,8 +64,6 @@ BMA150 accel(i2c); void threadmain() { while(1) { - GPIOB.ODR ^= 1 << 1; - uint16_t buf[] = { gyro.x, gyro.y, @@ -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. |