From 76e4638b8fdaf97623a32dcd37d0aa36c5a8d0c3 Mon Sep 17 00:00:00 2001 From: Brian Webb Date: Sat, 27 Apr 2013 04:52:34 +0100 Subject: [PATCH] OP-924: Added back setting of Tracking to true when a new sample is set. --- flight/pios/stm32f10x/pios_ppm_out.c | 1 + 1 file changed, 1 insertion(+) diff --git a/flight/pios/stm32f10x/pios_ppm_out.c b/flight/pios/stm32f10x/pios_ppm_out.c index 94e5f4ba1..594a168cc 100644 --- a/flight/pios/stm32f10x/pios_ppm_out.c +++ b/flight/pios/stm32f10x/pios_ppm_out.c @@ -194,6 +194,7 @@ void PIOS_PPM_OUT_Set(uint32_t ppm_out_id, uint8_t servo, uint16_t position) // Reenable the TIM if it's been turned off. if (!ppm_dev->Tracking) { PIOS_PPM_Out_Enable_Disable(ppm_dev, true); + ppm_dev->Tracking = TRUE; } // Update the position