Browse Source

Merge branch 'll40ls_startup' of https://github.com/mhkabir/Firmware into mhkabir-ll40ls_startup

Conflicts:
	ROMFS/px4fmu_common/init.d/rc.sensors
sbg
James Goppert 10 years ago
parent
commit
cbc169af2f
  1. 11
      ROMFS/px4fmu_common/init.d/rc.sensors
  2. 9
      src/modules/sensors/sensor_params.c

11
ROMFS/px4fmu_common/init.d/rc.sensors

@ -115,12 +115,15 @@ if px4flow start @@ -115,12 +115,15 @@ if px4flow start
then
fi
if pwm_input start
if param compare SENS_ENABLE_LL40LS 1
then
fi
if pwm_input start
then
fi
if ll40ls start pwm
then
if ll40ls start pwm
then
fi
fi
#

9
src/modules/sensors/sensor_params.c

@ -1401,3 +1401,12 @@ PARAM_DEFINE_INT32(RC_RSSI_PWM_MAX, 1000); @@ -1401,3 +1401,12 @@ PARAM_DEFINE_INT32(RC_RSSI_PWM_MAX, 1000);
*
*/
PARAM_DEFINE_INT32(RC_RSSI_PWM_MIN, 2000);
/**
* Enable Lidar-Lite (LL40LS) pwm driver
*
* @min 0
* @max 1
* @group Sensor Enable
*/
PARAM_DEFINE_INT32(SENS_ENABLE_LL40LS, 0);

Loading…
Cancel
Save