|
|
|
@ -471,6 +471,12 @@ then
@@ -471,6 +471,12 @@ then
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
# Sensors on the PWM interface bank |
|
|
|
|
if param compare SENS_EN_LL40LS 1 |
|
|
|
|
then |
|
|
|
|
# clear pins 5 and 6 |
|
|
|
|
set FMU_MODE pwm4 |
|
|
|
|
set AUX_MODE pwm4 |
|
|
|
|
fi |
|
|
|
|
if param greater TRIG_MODE 0 |
|
|
|
|
then |
|
|
|
|
# We ONLY support trigger on pins 5 and 6 when simultanously using AUX for actuator output |
|
|
|
@ -731,6 +737,17 @@ then
@@ -731,6 +737,17 @@ then
|
|
|
|
|
|
|
|
|
|
# Sensors on the PWM interface bank |
|
|
|
|
if param compare SENS_EN_LL40LS 1 |
|
|
|
|
then |
|
|
|
|
if pwm_input start |
|
|
|
|
then |
|
|
|
|
if ll40ls start pwm |
|
|
|
|
then |
|
|
|
|
fi |
|
|
|
|
fi |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
# Lidar-Lite on I2C |
|
|
|
|
if param compare SENS_EN_LL40LS 2 |
|
|
|
|
then |
|
|
|
|
if pwm_input start |
|
|
|
|
then |
|
|
|
|