system_params: clarify SYS_HAS_MAG description

after answering the questions:
Ah the value can be 2? Should I set the number of magnetometers the board has or include the external ones?
This commit is contained in:
Matthias Grob
2025-01-08 21:24:00 -05:00
committed by Daniel Agar
parent c3e370b946
commit b042f2101f
+3 -4
View File
@@ -189,11 +189,10 @@ PARAM_DEFINE_INT32(SYS_CAL_TMAX, 10);
PARAM_DEFINE_INT32(SYS_HAS_GPS, 1); PARAM_DEFINE_INT32(SYS_HAS_GPS, 1);
/** /**
* Control if the vehicle has a magnetometer * Control if and how many magnetometers are expected
* *
* Set this to 0 if the board has no magnetometer. * 0: System has no magnetometer, preflight checks should pass without one.
* If set to 0, the preflight checks will not check for the presence of a * 1-N: Require the presence of N magnetometer sensors for check to pass.
* magnetometer, otherwise N sensors are required.
* *
* @reboot_required true * @reboot_required true
* @group System * @group System