Greatly robustified PPM parsing, needs cross-checking with receiver models

This commit is contained in:
Lorenz Meier
2013-12-25 15:10:24 +01:00
parent 107bb54b33
commit a502332992
2 changed files with 30 additions and 10 deletions
+1
View File
@@ -57,6 +57,7 @@ __BEGIN_DECLS
* PPM decoder state
*/
__EXPORT extern uint16_t ppm_buffer[PPM_MAX_CHANNELS]; /**< decoded PPM channel values */
__EXPORT extern uint16_t ppm_frame_length; /**< length of the decoded PPM frame (includes gap) */
__EXPORT extern unsigned ppm_decoded_channels; /**< count of decoded channels */
__EXPORT extern hrt_abstime ppm_last_valid_decode; /**< timestamp of the last valid decode */