From 3f590d508ee6a37bbec3f9e993d327a9ff1212c0 Mon Sep 17 00:00:00 2001 From: James O'Shannessy <12959316+joshanne@users.noreply.github.com> Date: Tue, 26 Mar 2024 08:02:57 +1100 Subject: [PATCH] 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. --- libraries/AP_InertialSensor/AP_InertialSensor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_InertialSensor/AP_InertialSensor.cpp b/libraries/AP_InertialSensor/AP_InertialSensor.cpp index e5f7152a97..afb4df645c 100644 --- a/libraries/AP_InertialSensor/AP_InertialSensor.cpp +++ b/libraries/AP_InertialSensor/AP_InertialSensor.cpp @@ -654,8 +654,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),