Fixes #2579: Added support for Trainer signal alarm

- added alarm “Trainer signal lost” & “Trainer signal recovered”.
- moved PPM capture code to trainer_input.{h,cpp}
This commit is contained in:
Raphael Coeffic
2015-07-30 21:53:44 +02:00
parent 3d461b771f
commit f6bff9683d
12 changed files with 185 additions and 78 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ void processSbusFrame(uint8_t *sbus, int16_t *pulses, uint32_t size)
inputbits >>= SBUS_CH_BITS;
}
ppmInValid = PPM_IN_VALID_TIMEOUT;
g_ppmInputValidityTimer = PPM_IN_VALID_TIMEOUT;
}
void processSbusInput()