diff --git a/Tools/ArdupilotMegaPlanner/MAVLink.cs b/Tools/ArdupilotMegaPlanner/MAVLink.cs index aa10a9538c05ab6d893c50418219586d800d6760..1d5f5dfde8848d0b1c08fb3d3abb851657988e32 100644 --- a/Tools/ArdupilotMegaPlanner/MAVLink.cs +++ b/Tools/ArdupilotMegaPlanner/MAVLink.cs @@ -490,6 +490,12 @@ namespace ArdupilotMega return false; } + if ((float)param[paramname] == value) + { + log.Debug("setParam "+paramname + " not modified"); + return true; + } + MainV2.giveComport = true; mavlink_param_set_t req = new mavlink_param_set_t(); diff --git a/Tools/ArdupilotMegaPlanner/Msi/wix.pdb b/Tools/ArdupilotMegaPlanner/Msi/wix.pdb index f5a7a2db5e25ddb8cd2dbcea9a99179a573ceb08..6b13b52e52ba133ebcb30c31fc1c1e8175a18bd4 100644 Binary files a/Tools/ArdupilotMegaPlanner/Msi/wix.pdb and b/Tools/ArdupilotMegaPlanner/Msi/wix.pdb differ diff --git a/Tools/ArdupilotMegaPlanner/Program.cs b/Tools/ArdupilotMegaPlanner/Program.cs index 995d81a9a06cd4fdf35ac7104a788f89daa411be..851d5ab5cabc9b87cd9be85c26bc2abceb1894b4 100644 --- a/Tools/ArdupilotMegaPlanner/Program.cs +++ b/Tools/ArdupilotMegaPlanner/Program.cs @@ -46,7 +46,7 @@ namespace ArdupilotMega if (System.Diagnostics.Debugger.IsAttached) { // testing - // Utilities.ParameterMetaDataParser.GetParameterInformation(); + Utilities.ParameterMetaDataParser.GetParameterInformation(); } try diff --git a/Tools/ArdupilotMegaPlanner/Properties/AssemblyInfo.cs b/Tools/ArdupilotMegaPlanner/Properties/AssemblyInfo.cs index cc695a00b9659c823817ec58cf4954c84f926fa5..790eaa56ac22ac6e4721656fef29e32e3ffbd925 100644 --- a/Tools/ArdupilotMegaPlanner/Properties/AssemblyInfo.cs +++ b/Tools/ArdupilotMegaPlanner/Properties/AssemblyInfo.cs @@ -34,5 +34,5 @@ using System.Resources; // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("1.1.*")] -[assembly: AssemblyFileVersion("1.1.76")] +[assembly: AssemblyFileVersion("1.1.77")] [assembly: NeutralResourcesLanguageAttribute("")] diff --git a/Tools/ArdupilotMegaPlanner/Utilities/ParameterMetaDataRepository.cs b/Tools/ArdupilotMegaPlanner/Utilities/ParameterMetaDataRepository.cs index 738e684880c718a170d4eafe4c7ca2d9e4139c50..2f118a36f819401eef132eef4829cbb36ed53025 100644 --- a/Tools/ArdupilotMegaPlanner/Utilities/ParameterMetaDataRepository.cs +++ b/Tools/ArdupilotMegaPlanner/Utilities/ParameterMetaDataRepository.cs @@ -33,7 +33,7 @@ namespace ArdupilotMega.Utilities { // Use this to find the endpoint node we are looking for // Either it will be pulled from a file in the ArduPlane hierarchy or the ArduCopter hierarchy - var element = _parameterMetaDataXML.Element(MainV2.cs.firmware.ToString()); + var element = _parameterMetaDataXML.Element("Params").Element(MainV2.cs.firmware.ToString()); if(element != null && element.HasElements) { var node = element.Element(nodeKey); diff --git a/Tools/ArdupilotMegaPlanner/bin/Release/ArdupilotMegaPlanner.pdb b/Tools/ArdupilotMegaPlanner/bin/Release/ArdupilotMegaPlanner.pdb index 56b263bc595d9885020dd665bc528629d1b0c8c2..c1753aab68a6fa03f1b5637ca8ffbafe384039f6 100644 Binary files a/Tools/ArdupilotMegaPlanner/bin/Release/ArdupilotMegaPlanner.pdb and b/Tools/ArdupilotMegaPlanner/bin/Release/ArdupilotMegaPlanner.pdb differ diff --git a/Tools/ArdupilotMegaPlanner/bin/Release/version.txt b/Tools/ArdupilotMegaPlanner/bin/Release/version.txt index 9df08b2e7a5dab22ee4d70c9ab254321eece29e4..4c3db27651881d0326d6ec9b485f8433253c6418 100644 --- a/Tools/ArdupilotMegaPlanner/bin/Release/version.txt +++ b/Tools/ArdupilotMegaPlanner/bin/Release/version.txt @@ -1 +1 @@ -1.1.4503.33640 \ No newline at end of file +1.1.4503.36159 \ No newline at end of file