Revert "add boolean parameters to enable/disable each sensor"

This reverts commit 9fde19259e.
This commit is contained in:
Paul Riseborough
2017-10-30 20:49:36 +11:00
parent 3a57712d2b
commit b3d045d4d0
5 changed files with 10 additions and 110 deletions
-32
View File
@@ -65,14 +65,6 @@ PARAM_DEFINE_INT32(CAL_MAG_SIDES, 63);
*/
PARAM_DEFINE_INT32(CAL_MAG0_ID, 0);
/**
* Mag 0 enabled
*
* @boolean
* @group Sensor Calibration
*/
PARAM_DEFINE_INT32(CAL_MAG0_EN, 1);
/**
* Rotation of magnetometer 0 relative to airframe.
*
@@ -164,14 +156,6 @@ PARAM_DEFINE_FLOAT(CAL_MAG0_ZSCALE, 1.0f);
*/
PARAM_DEFINE_INT32(CAL_MAG1_ID, 0);
/**
* Mag 1 enabled
*
* @boolean
* @group Sensor Calibration
*/
PARAM_DEFINE_INT32(CAL_MAG1_EN, 1);
/**
* Rotation of magnetometer 1 relative to airframe.
*
@@ -263,14 +247,6 @@ PARAM_DEFINE_FLOAT(CAL_MAG1_ZSCALE, 1.0f);
*/
PARAM_DEFINE_INT32(CAL_MAG2_ID, 0);
/**
* Mag 2 enabled
*
* @boolean
* @group Sensor Calibration
*/
PARAM_DEFINE_INT32(CAL_MAG2_EN, 1);
/**
* Rotation of magnetometer 2 relative to airframe.
*
@@ -364,14 +340,6 @@ PARAM_DEFINE_FLOAT(CAL_MAG2_ZSCALE, 1.0f);
*/
PARAM_DEFINE_INT32(CAL_MAG3_ID, 0);
/**
* Mag 3 enabled
*
* @boolean
* @group Sensor Calibration
*/
PARAM_DEFINE_INT32(CAL_MAG3_EN, 1);
/**
* Rotation of magnetometer 2 relative to airframe.
*