From 33a3254d8b226df2bbbe98281036b8c54029d34c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 8 Feb 2015 17:09:42 +1100 Subject: [PATCH] HAL_Linux: accept a smaller sync pulse width --- libraries/AP_HAL_Linux/RCInput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL_Linux/RCInput.cpp b/libraries/AP_HAL_Linux/RCInput.cpp index 211dcbf8c8..c97ba5c2d1 100644 --- a/libraries/AP_HAL_Linux/RCInput.cpp +++ b/libraries/AP_HAL_Linux/RCInput.cpp @@ -106,7 +106,7 @@ void LinuxRCInput::clear_overrides() */ void LinuxRCInput::_process_ppmsum_pulse(uint16_t width_usec) { - if (width_usec >= 4000) { + if (width_usec >= 2700) { // a long pulse indicates the end of a frame. Reset the // channel counter so next pulse is channel 0 if (ppm_state._channel_counter >= 5) {