Commit bf1dbe6c authored by Lorenz Meier's avatar Lorenz Meier

AutoPilotPlugins: Fix case use

parent 0ebbfda7
......@@ -244,7 +244,7 @@
<qresource prefix="/res/audio">
<file alias="Alert">resources/audio/alert.wav</file>
</qresource>
<qresource prefix="/AutopilotPlugins/PX4">
<qresource prefix="/AutoPilotPlugins/PX4">
<file alias="AirframeFactMetaData.xml">src/AutoPilotPlugins/PX4/AirframeFactMetaData.xml</file>
<file alias="ParameterFactMetaData.xml">src/AutoPilotPlugins/PX4/ParameterFactMetaData.xml</file>
</qresource>
......
......@@ -70,7 +70,7 @@ void PX4AirframeLoader::loadAirframeFactMetaData(void)
airframeFilename = parameterDir.filePath("PX4AirframeFactMetaData.xml");
}
if (airframeFilename.isEmpty() || !QFile(airframeFilename).exists()) {
airframeFilename = ":/AutopilotPlugins/PX4/AirframeFactMetaData.xml";
airframeFilename = ":/AutoPilotPlugins/PX4/AirframeFactMetaData.xml";
}
qCDebug(PX4AirframeLoaderLog) << "Loading meta data file:" << airframeFilename;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment