Skip to content

Commit

Permalink
AP_InertialSensor: Improve bitmask indicating persistent parameters o…
Browse files Browse the repository at this point in the history
…n 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.
  • Loading branch information
joshanne authored and tridge committed Mar 26, 2024
1 parent 0cfdc75 commit ac271cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/AP_InertialSensor/AP_InertialSensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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),

Expand Down

0 comments on commit ac271cf

Please sign in to comment.