mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-06 21:54:15 +01:00
OP-924: Added back setting of Tracking to true when a new sample is set.
This commit is contained in:
parent
56a524ab9e
commit
76e4638b8f
@ -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.
|
// Reenable the TIM if it's been turned off.
|
||||||
if (!ppm_dev->Tracking) {
|
if (!ppm_dev->Tracking) {
|
||||||
PIOS_PPM_Out_Enable_Disable(ppm_dev, true);
|
PIOS_PPM_Out_Enable_Disable(ppm_dev, true);
|
||||||
|
ppm_dev->Tracking = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update the position
|
// Update the position
|
||||||
|
Loading…
x
Reference in New Issue
Block a user