Airspeed Library - fix param names.

The Group definition give the start of the param name.
This way we can maintain multiple instances if required of the same library as options.
This commit is contained in:
Michael Oborne 2012-07-16 21:48:47 +08:00
parent 822e682140
commit 9e4d118fdb

View File

@ -16,25 +16,25 @@
// table of user settable parameters // table of user settable parameters
const AP_Param::GroupInfo AP_Airspeed::var_info[] PROGMEM = { const AP_Param::GroupInfo AP_Airspeed::var_info[] PROGMEM = {
// @Param: ARSPD_ENABLE // @Param: ENABLE
// @DisplayName: Airspeed enable // @DisplayName: Airspeed enable
// @Description: enable airspeed sensor // @Description: enable airspeed sensor
// @Values: 0:Disable,1:Enable // @Values: 0:Disable,1:Enable
AP_GROUPINFO("ENABLE", 0, AP_Airspeed, _enable), AP_GROUPINFO("ENABLE", 0, AP_Airspeed, _enable),
// @Param: ARSPD_USE // @Param: USE
// @DisplayName: Airspeed use // @DisplayName: Airspeed use
// @Description: use airspeed for flight control // @Description: use airspeed for flight control
// @Values: 0:Use,1:Don't Use // @Values: 0:Use,1:Don't Use
AP_GROUPINFO("USE", 1, AP_Airspeed, _use), AP_GROUPINFO("USE", 1, AP_Airspeed, _use),
// @Param: ARSPD_OFFSET // @Param: OFFSET
// @DisplayName: Airspeed offset // @DisplayName: Airspeed offset
// @Description: Airspeed calibration offset // @Description: Airspeed calibration offset
// @Increment: 0.1 // @Increment: 0.1
AP_GROUPINFO("OFFSET", 2, AP_Airspeed, _offset), AP_GROUPINFO("OFFSET", 2, AP_Airspeed, _offset),
// @Param: ARSPD_RATIO // @Param: RATIO
// @DisplayName: Airspeed ratio // @DisplayName: Airspeed ratio
// @Description: Airspeed calibration ratio // @Description: Airspeed calibration ratio
// @Increment: 0.1 // @Increment: 0.1