1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-29 14:52:12 +01:00

OP-924: Added back setting of Tracking to true when a new sample is set.

This commit is contained in:
Brian Webb 2013-04-27 04:52:34 +01:00
parent 56a524ab9e
commit 76e4638b8f

View File

@ -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