Skip to content
Snippets Groups Projects
Commit 09ffc69d authored by Adam M Rivera's avatar Adam M Rivera
Browse files

Changed the marker for Group parameters to @Group.

parent 5bee0dfb
No related branches found
No related tags found
No related merge requests found
...@@ -179,18 +179,18 @@ static const AP_Param::Info var_info[] PROGMEM = { ...@@ -179,18 +179,18 @@ static const AP_Param::Info var_info[] PROGMEM = {
// variables not in the g class which contain EEPROM saved variables // variables not in the g class which contain EEPROM saved variables
// @Lib: COMPASS_ // @Group: COMPASS_
// @Path: ../libraries/AP_Compass/Compass.cpp // @Path: ../libraries/AP_Compass/Compass.cpp
GOBJECT(compass, "COMPASS_", Compass), GOBJECT(compass, "COMPASS_", Compass),
GOBJECT(gcs0, "SR0_", GCS_MAVLINK), GOBJECT(gcs0, "SR0_", GCS_MAVLINK),
GOBJECT(gcs3, "SR3_", GCS_MAVLINK), GOBJECT(gcs3, "SR3_", GCS_MAVLINK),
// @Lib: IMU_ // @Group: IMU_
// @Path: ../libraries/AP_IMU/IMU.cpp // @Path: ../libraries/AP_IMU/IMU.cpp
GOBJECT(imu, "IMU_", IMU), GOBJECT(imu, "IMU_", IMU),
// @Lib: AP_AHRS_ // @Group: AHRS_
// @Path: ../libraries/AP_AHRS/AP_AHRS_DCM.cpp, ../libraries/AP_AHRS/AP_AHRS_Quaternion.cpp // @Path: ../libraries/AP_AHRS/AP_AHRS_DCM.cpp, ../libraries/AP_AHRS/AP_AHRS_Quaternion.cpp
GOBJECT(ahrs, "AHRS_", AP_AHRS), GOBJECT(ahrs, "AHRS_", AP_AHRS),
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
public const string ParamDelimeter = "@"; public const string ParamDelimeter = "@";
public const string PathDelimeter = ","; public const string PathDelimeter = ",";
public const string Param = "Param"; public const string Param = "Param";
public const string Lib = "Lib"; public const string Group = "Group";
public const string Path = "Path"; public const string Path = "Path";
#endregion #endregion
......
...@@ -65,7 +65,7 @@ namespace ArdupilotMega.Utilities ...@@ -65,7 +65,7 @@ namespace ArdupilotMega.Utilities
/// <param name="parameterLocation">The parameter location.</param> /// <param name="parameterLocation">The parameter location.</param>
private static void ParseLibInformation(string fileContents, XmlTextWriter objXmlTextWriter, string parameterLocation) 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) if (parsedInformation != null && parsedInformation.Count > 0)
{ {
// node is the prefix of the parameter group here // node is the prefix of the parameter group here
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment