sensors: add SENS_IMU_MODE to optionally skip IMU voting/selection

This commit is contained in:
Daniel Agar
2020-09-15 10:15:39 -04:00
parent 5ebc4d31da
commit a04412fc1f
6 changed files with 86 additions and 27 deletions
+12
View File
@@ -202,3 +202,15 @@ PARAM_DEFINE_INT32(SENS_EN_THERMAL, -1);
* @group Sensors
*/
PARAM_DEFINE_INT32(SENS_EXT_I2C_PRB, 1);
/**
* Sensors hub IMU mode
*
* @value 0 Disabled
* @value 1 Publish primary IMU selection
*
* @category system
* @reboot_required true
* @group Sensors
*/
PARAM_DEFINE_INT32(SENS_IMU_MODE, 1);