From cb6f97fc7f68b5f4b8877b079d31f1551a94a563 Mon Sep 17 00:00:00 2001 From: Adam M Rivera Date: Wed, 25 Apr 2012 12:27:51 -0500 Subject: [PATCH] Changed the marker for Group parameters to @Group. --- ArduCopter/Parameters.pde | 6 +++--- .../Utilities/Constants/ParameterMetaDataConstants.cs | 2 +- .../Utilities/ParameterMetaDataParser.cs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ArduCopter/Parameters.pde b/ArduCopter/Parameters.pde index e384b690c9..3ad356fa97 100644 --- a/ArduCopter/Parameters.pde +++ b/ArduCopter/Parameters.pde @@ -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), diff --git a/Tools/ArdupilotMegaPlanner/Utilities/Constants/ParameterMetaDataConstants.cs b/Tools/ArdupilotMegaPlanner/Utilities/Constants/ParameterMetaDataConstants.cs index b8764f9a73..953649849d 100644 --- a/Tools/ArdupilotMegaPlanner/Utilities/Constants/ParameterMetaDataConstants.cs +++ b/Tools/ArdupilotMegaPlanner/Utilities/Constants/ParameterMetaDataConstants.cs @@ -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 diff --git a/Tools/ArdupilotMegaPlanner/Utilities/ParameterMetaDataParser.cs b/Tools/ArdupilotMegaPlanner/Utilities/ParameterMetaDataParser.cs index 1d68825371..50a725698a 100644 --- a/Tools/ArdupilotMegaPlanner/Utilities/ParameterMetaDataParser.cs +++ b/Tools/ArdupilotMegaPlanner/Utilities/ParameterMetaDataParser.cs @@ -65,7 +65,7 @@ namespace ArdupilotMega.Utilities /// The parameter location. 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