boards: centralize optional external I2C sensor start

- configured with new parameter SENS_EXT_I2C_PRB
This commit is contained in:
Daniel Agar
2020-06-08 10:28:38 -04:00
parent 13d983d305
commit 6f6efd60b7
26 changed files with 63 additions and 217 deletions
+11
View File
@@ -191,3 +191,14 @@ PARAM_DEFINE_FLOAT(SENS_BOARD_Z_OFF, 0.0f);
* @group Sensors
*/
PARAM_DEFINE_INT32(SENS_EN_THERMAL, -1);
/**
* External I2C probe.
*
* Probe for optional external I2C devices.
*
* @boolean
* @category system
* @group Sensors
*/
PARAM_DEFINE_INT32(SENS_EXT_I2C_PRB, 1);