AP_Compass: rename COMPASS_ROT_AUTO to COMPASS_AUTO_ROT

request from Randy
This commit is contained in:
Andrew Tridgell 2018-07-18 16:07:08 +10:00
parent 15d2daabf0
commit 027beb0dc1
1 changed files with 2 additions and 2 deletions

View File

@ -444,11 +444,11 @@ const AP_Param::GroupInfo Compass::var_info[] = {
// @Increment: 1 // @Increment: 1
AP_GROUPINFO("FLTR_RNG", 34, Compass, _filter_range, HAL_COMPASS_FILTER_DEFAULT), AP_GROUPINFO("FLTR_RNG", 34, Compass, _filter_range, HAL_COMPASS_FILTER_DEFAULT),
// @Param: ROT_AUTO // @Param: AUTO_ROT
// @DisplayName: Automatically check orientation // @DisplayName: Automatically check orientation
// @Description: When enabled this will automatically check the orientation of compasses on successful completion of compass calibration. If set to 2 then external compasses will have their orientation automatically corrected. // @Description: When enabled this will automatically check the orientation of compasses on successful completion of compass calibration. If set to 2 then external compasses will have their orientation automatically corrected.
// @Values: 0:Disabled,1:CheckOnly,2:CheckAndFix // @Values: 0:Disabled,1:CheckOnly,2:CheckAndFix
AP_GROUPINFO("ROT_AUTO", 35, Compass, _rotate_auto, 2), AP_GROUPINFO("AUTO_ROT", 35, Compass, _rotate_auto, 2),
AP_GROUPEND AP_GROUPEND
}; };