forked from Archive/PX4-Autopilot
Robustifiying PPM parsing
This commit is contained in:
parent
64ad3d7e0a
commit
107bb54b33
|
@ -342,7 +342,7 @@ static void hrt_call_invoke(void);
|
|||
#define PPM_MAX_CHANNELS 20
|
||||
|
||||
/* Number of same-sized frames required to 'lock' */
|
||||
#define PPM_CHANNEL_LOCK 2 /* should be less than the input timeout */
|
||||
#define PPM_CHANNEL_LOCK 4 /* should be less than the input timeout */
|
||||
|
||||
__EXPORT uint16_t ppm_buffer[PPM_MAX_CHANNELS];
|
||||
__EXPORT unsigned ppm_decoded_channels = 0;
|
||||
|
|
Loading…
Reference in New Issue