PPS capture: Add a param to enable / disable PPS capture module. This is important, since it takes over an FMU pin which can no longer be used for actuator output.

This commit is contained in:
Thomas Debrunner
2021-11-12 15:39:39 +01:00
committed by Beat Küng
parent 298a8c4637
commit 43bc6db99e
2 changed files with 53 additions and 1 deletions
+4 -1
View File
@@ -478,7 +478,10 @@ else
fi
# PPS capture driver (before pwm_out)
pps_capture start
if param greater -s PPS_CAP_ENABLE 0
then
pps_capture start
fi
# Camera capture driver (before pwm_out)
if param greater -s CAM_CAP_FBACK 0