use i2c for lidar lite

This commit is contained in:
Mohamed Abdelkader Zahana
2017-04-23 22:30:04 +03:00
committed by Kabir Mohammed
parent c60ad883a4
commit 9911a55393
2 changed files with 2 additions and 8 deletions

View File

@@ -471,12 +471,6 @@ 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
@@ -740,7 +734,7 @@ then
then
if pwm_input start
then
if ll40ls start pwm
if ll40ls start i2c
then
fi
fi