Changed the marker for Group parameters to @Group.

This commit is contained in:
Adam M Rivera 2012-04-25 12:27:51 -05:00
parent 155928adef
commit cb6f97fc7f
3 changed files with 5 additions and 5 deletions

View File

@ -179,18 +179,18 @@ static const AP_Param::Info var_info[] PROGMEM = {
// variables not in the g class which contain EEPROM saved variables
// @Lib: COMPASS_
// @Group: COMPASS_
// @Path: ../libraries/AP_Compass/Compass.cpp
GOBJECT(compass, "COMPASS_", Compass),
GOBJECT(gcs0, "SR0_", GCS_MAVLINK),
GOBJECT(gcs3, "SR3_", GCS_MAVLINK),
// @Lib: IMU_
// @Group: IMU_
// @Path: ../libraries/AP_IMU/IMU.cpp
GOBJECT(imu, "IMU_", IMU),
// @Lib: AP_AHRS_
// @Group: AHRS_
// @Path: ../libraries/AP_AHRS/AP_AHRS_DCM.cpp, ../libraries/AP_AHRS/AP_AHRS_Quaternion.cpp
GOBJECT(ahrs, "AHRS_", AP_AHRS),

View File

@ -7,7 +7,7 @@
public const string ParamDelimeter = "@";
public const string PathDelimeter = ",";
public const string Param = "Param";
public const string Lib = "Lib";
public const string Group = "Group";
public const string Path = "Path";
#endregion

View File

@ -65,7 +65,7 @@ namespace ArdupilotMega.Utilities
/// <param name="parameterLocation">The parameter location.</param>
private static void ParseLibInformation(string fileContents, XmlTextWriter objXmlTextWriter, string parameterLocation)
{
var parsedInformation = ParseKeyValuePairs(fileContents, ParameterMetaDataConstants.Lib);
var parsedInformation = ParseKeyValuePairs(fileContents, ParameterMetaDataConstants.Group);
if (parsedInformation != null && parsedInformation.Count > 0)
{
// node is the prefix of the parameter group here