rename barometer parameters to BARO prefix

This commit is contained in:
Andrew Tridgell 2020-12-03 19:13:33 +11:00
parent 5e3bf0a703
commit cd2f2f96eb
6 changed files with 13 additions and 18 deletions

View File

@ -213,11 +213,10 @@ const AP_Param::Info Tracker::var_info[] = {
// @User: Standard
GSCALAR(pitch_max, "PITCH_MAX", PITCH_MAX_DEFAULT),
// barometer ground calibration. The GND_ prefix is chosen for
// compatibility with previous releases of ArduPlane
// @Group: GND_
// barometer library
// @Group: BARO
// @Path: ../libraries/AP_Baro/AP_Baro.cpp
GOBJECT(barometer, "GND_", AP_Baro),
GOBJECT(barometer, "BARO", AP_Baro),
// @Group: COMPASS_
// @Path: ../libraries/AP_Compass/AP_Compass.cpp

View File

@ -582,9 +582,9 @@ const AP_Param::Info Copter::var_info[] = {
GOBJECT(sitl, "SIM_", SITL::SITL),
#endif
// @Group: GND_
// @Group: BARO
// @Path: ../libraries/AP_Baro/AP_Baro.cpp
GOBJECT(barometer, "GND_", AP_Baro),
GOBJECT(barometer, "BARO", AP_Baro),
// GPS driver
// @Group: GPS_

View File

@ -857,11 +857,9 @@ const AP_Param::Info Plane::var_info[] = {
// @User: Advanced
ASCALAR(crash_detection_enable, "CRASH_DETECT", 0),
// barometer ground calibration. The GND_ prefix is chosen for
// compatibility with previous releases of ArduPlane
// @Group: GND_
// @Group: BARO
// @Path: ../libraries/AP_Baro/AP_Baro.cpp
GOBJECT(barometer, "GND_", AP_Baro),
GOBJECT(barometer, "BARO", AP_Baro),
// GPS driver
// @Group: GPS_

View File

@ -500,9 +500,9 @@ const AP_Param::Info Sub::var_info[] = {
GOBJECT(sitl, "SIM_", SITL::SITL),
#endif
// @Group: GND_
// @Group: BARO
// @Path: ../libraries/AP_Baro/AP_Baro.cpp
GOBJECT(barometer, "GND_", AP_Baro),
GOBJECT(barometer, "BARO", AP_Baro),
// GPS driver
// @Group: GPS_

View File

@ -236,11 +236,9 @@ const AP_Param::Info Rover::var_info[] = {
// @Path: ../libraries/AP_Scheduler/AP_Scheduler.cpp
GOBJECT(scheduler, "SCHED_", AP_Scheduler),
// barometer ground calibration. The GND_ prefix is chosen for
// compatibility with previous releases of ArduPlane
// @Group: GND_
// @Group: BARO
// @Path: ../libraries/AP_Baro/AP_Baro.cpp
GOBJECT(barometer, "GND_", AP_Baro),
GOBJECT(barometer, "BARO", AP_Baro),
// @Group: RELAY_
// @Path: ../libraries/AP_Relay/AP_Relay.cpp

View File

@ -66,9 +66,9 @@ const AP_Param::Info AP_Periph_FW::var_info[] = {
#ifdef HAL_PERIPH_ENABLE_BARO
// Baro driver
// @Group: BARO_
// @Group: BARO
// @Path: ../../libraries/AP_Baro/AP_Baro.cpp
GOBJECT(baro, "BARO_", AP_Baro),
GOBJECT(baro, "BARO", AP_Baro),
GSCALAR(baro_enable, "BARO_ENABLE", 1),
#endif