Replace CBRK_AIRSPD_CHK with SYS_HAS_NUM_ASPD

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
Silvan Fuhrer
2023-12-21 11:34:28 +01:00
parent 9e0c8fd75e
commit 29807a5e50
12 changed files with 38 additions and 29 deletions
+13
View File
@@ -216,6 +216,19 @@ PARAM_DEFINE_INT32(SYS_HAS_MAG, 1);
*/
PARAM_DEFINE_INT32(SYS_HAS_BARO, 1);
/**
* Control if the vehicle has an airspeed sensor
*
* Set this to 0 if the board has no airspeed sensor.
* If set to 0, the preflight checks will not check for the presence of an
* airspeed sensor.
*
* @group System
* @min 0
* @max 1
*/
PARAM_DEFINE_INT32(SYS_HAS_NUM_ASPD, 0);
/**
* Number of distance sensors to check being available
*