Added mb12xx sensor enable. (#5164)

This commit is contained in:
James Goppert
2016-07-29 16:18:27 -04:00
committed by GitHub
parent 390a7165dd
commit 5f16c97662
2 changed files with 16 additions and 0 deletions
+6
View File
@@ -593,6 +593,12 @@ then
sf0x start
fi
# mb12xx sonar sensor
if param compare SENS_EN_MB12XX 1
then
mb12xx start
fi
if ver hwcmp PX4FMU_V4
then
frsky_telemetry start -d /dev/ttyS6
+10
View File
@@ -3054,6 +3054,16 @@ PARAM_DEFINE_INT32(SENS_EN_LL40LS, 0);
*/
PARAM_DEFINE_INT32(SENS_EN_SF0X, 0);
/**
* Maxbotix Soanr (mb12xx)
*
* @reboot_required true
*
* @boolean
* @group Sensor Enable
*/
PARAM_DEFINE_INT32(SENS_EN_MB12XX, 0);
/**
* Set the minimum PWM for the MAIN outputs
*