Browse Source

Merge pull request #8323 from Williangalvani/frameclass

Don't report missing parameter FRAME_CLASS
QGC4.4
Don Gagne 5 years ago committed by GitHub
parent
commit
7d371f1208
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/AutoPilotPlugins/APM/APMAirframeComponentController.cc

2
src/AutoPilotPlugins/APM/APMAirframeComponentController.cc

@ -139,7 +139,7 @@ static QString s_findImageResourceRover(int frameClass, int frameType) @@ -139,7 +139,7 @@ static QString s_findImageResourceRover(int frameClass, int frameType)
}
APMAirframeComponentController::APMAirframeComponentController(void)
: _frameClassFact (getParameterFact(FactSystem::defaultComponentId, QStringLiteral("FRAME_CLASS")))
: _frameClassFact (getParameterFact(FactSystem::defaultComponentId, QStringLiteral("FRAME_CLASS"), false /* reportMissing */))
, _frameTypeFact (getParameterFact(FactSystem::defaultComponentId, QStringLiteral("FRAME_TYPE"), false /* reportMissing */))
, _frameClassModel (new QmlObjectListModel(this))
{

Loading…
Cancel
Save