Browse Source

AP_InertialSensor: remove @Values from param metadata where @Bitmask exists

zr-v5.1
Peter Barker 4 years ago committed by Andrew Tridgell
parent
commit
731cf038f0
  1. 2
      libraries/AP_InertialSensor/AP_InertialSensor.cpp
  2. 1
      libraries/AP_InertialSensor/BatchSampler.cpp

2
libraries/AP_InertialSensor/AP_InertialSensor.cpp

@ -519,7 +519,6 @@ const AP_Param::GroupInfo AP_InertialSensor::var_info[] = { @@ -519,7 +519,6 @@ const AP_Param::GroupInfo AP_InertialSensor::var_info[] = {
// @DisplayName: Fast sampling mask
// @Description: Mask of IMUs to enable fast sampling on, if available
// @User: Advanced
// @Values: 1:FirstIMUOnly,3:FirstAndSecondIMU
// @Bitmask: 0:FirstIMU,1:SecondIMU,2:ThirdIMU
AP_GROUPINFO("FAST_SAMPLE", 36, AP_InertialSensor, _fast_sampling_mask, HAL_DEFAULT_INS_FAST_SAMPLE),
@ -535,7 +534,6 @@ const AP_Param::GroupInfo AP_InertialSensor::var_info[] = { @@ -535,7 +534,6 @@ const AP_Param::GroupInfo AP_InertialSensor::var_info[] = {
// @DisplayName: IMU enable mask
// @Description: Bitmask of IMUs to enable. It can be used to prevent startup of specific detected IMUs
// @User: Advanced
// @Values: 1:FirstIMUOnly,3:FirstAndSecondIMU,7:FirstSecondAndThirdIMU,127:AllIMUs
// @Bitmask: 0:FirstIMU,1:SecondIMU,2:ThirdIMU
AP_GROUPINFO("ENABLE_MASK", 40, AP_InertialSensor, _enable_mask, 0x7F),

1
libraries/AP_InertialSensor/BatchSampler.cpp

@ -16,7 +16,6 @@ const AP_Param::GroupInfo AP_InertialSensor::BatchSampler::var_info[] = { @@ -16,7 +16,6 @@ const AP_Param::GroupInfo AP_InertialSensor::BatchSampler::var_info[] = {
// @DisplayName: Sensor Bitmask
// @Description: Bitmap of which IMUs to log batch data for. This option takes effect on the next reboot.
// @User: Advanced
// @Values: 0:None,1:First IMU,255:All
// @Bitmask: 0:IMU1,1:IMU2,2:IMU3
// @RebootRequired: True
AP_GROUPINFO("BAT_MASK", 2, AP_InertialSensor::BatchSampler, _sensor_mask, DEFAULT_IMU_LOG_BAT_MASK),

Loading…
Cancel
Save