From 6f3bcf817e85f5a8544246d7824ac5028f75390c Mon Sep 17 00:00:00 2001 From: Laurent Lalanne Date: Mon, 30 May 2016 14:44:09 +0200 Subject: [PATCH] =?utf8?q?LP-326=20Reduce=20minimal=20sync=20pulse=20lengh?= =?utf8?q?t=20to=202700=C2=B5s?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- flight/pios/stm32f10x/pios_ppm.c | 5 +++-- flight/pios/stm32f4xx/pios_ppm.c | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/flight/pios/stm32f10x/pios_ppm.c b/flight/pios/stm32f10x/pios_ppm.c index c3b3683e1..4983c116e 100644 --- a/flight/pios/stm32f10x/pios_ppm.c +++ b/flight/pios/stm32f10x/pios_ppm.c @@ -7,7 +7,8 @@ * @{ * * @file pios_ppm.c - * @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010. + * @author The LibrePilot Project, http://www.librepilot.org Copyright (C) 2016. + * The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010. * @brief PPM Input functions (STM32 dependent) * @see The GNU Public License (GPL) Version 3 * @@ -50,7 +51,7 @@ const struct pios_rcvr_driver pios_ppm_rcvr_driver = { #define PIOS_PPM_IN_MIN_NUM_CHANNELS 4 #define PIOS_PPM_IN_MAX_NUM_CHANNELS PIOS_PPM_NUM_INPUTS #define PIOS_PPM_STABLE_CHANNEL_COUNT 25 // frames -#define PIOS_PPM_IN_MIN_SYNC_PULSE_US 3000 // microseconds +#define PIOS_PPM_IN_MIN_SYNC_PULSE_US 2700 // microseconds #define PIOS_PPM_IN_MIN_CHANNEL_PULSE_US 750 // microseconds #define PIOS_PPM_IN_MAX_CHANNEL_PULSE_US 2250 // microseconds diff --git a/flight/pios/stm32f4xx/pios_ppm.c b/flight/pios/stm32f4xx/pios_ppm.c index 809ceae9b..9f1875a02 100644 --- a/flight/pios/stm32f4xx/pios_ppm.c +++ b/flight/pios/stm32f4xx/pios_ppm.c @@ -7,7 +7,8 @@ * @{ * * @file pios_ppm.c - * @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2012. + * @author The LibrePilot Project, http://www.librepilot.org Copyright (C) 2016. + * The OpenPilot Team, http://www.openpilot.org Copyright (C) 2012. * @brief PPM Input functions (STM32 dependent) * @see The GNU Public License (GPL) Version 3 * @@ -48,7 +49,7 @@ const struct pios_rcvr_driver pios_ppm_rcvr_driver = { #define PIOS_PPM_IN_MIN_NUM_CHANNELS 4 #define PIOS_PPM_IN_MAX_NUM_CHANNELS PIOS_PPM_NUM_INPUTS #define PIOS_PPM_STABLE_CHANNEL_COUNT 25 // frames -#define PIOS_PPM_IN_MIN_SYNC_PULSE_US 3800 // microseconds +#define PIOS_PPM_IN_MIN_SYNC_PULSE_US 2700 // microseconds #define PIOS_PPM_IN_MIN_CHANNEL_PULSE_US 750 // microseconds #define PIOS_PPM_IN_MAX_CHANNEL_PULSE_US 2250 // microseconds -- 2.11.4.GIT