AP_InertialSensor: Improve bitmask indicating persistent parameters on bootloader flash

INS_TCAL_OPTIONS parameter description indicates a singular bit in a bitmask to persist Accels/TCAL parameters, however there are two separate bits for persistence.
This commit is contained in:
James O'Shannessy 2024-03-26 08:02:57 +11:00 committed by Andrew Tridgell
parent 0cfdc75c90
commit ac271cf4e0

View File

@ -656,8 +656,8 @@ const AP_Param::GroupInfo AP_InertialSensor::var_info[] = {
// @Param: _TCAL_OPTIONS
// @DisplayName: Options for temperature calibration
// @Description: This enables optional temperature calibration features. Setting PersistParams will save the accelerometer and temperature calibration parameters in the bootloader sector on the next update of the bootloader.
// @Bitmask: 0:PersistParams
// @Description: This enables optional temperature calibration features. Setting of the Persist bits will save the temperature and/or accelerometer calibration parameters in the bootloader sector on the next update of the bootloader.
// @Bitmask: 0:PersistTemps, 1:PersistAccels
// @User: Advanced
AP_GROUPINFO("_TCAL_OPTIONS", 52, AP_InertialSensor, tcal_options, 0),