Browse Source

Use correct parameter list request api

QGC4.4
Don Gagne 11 years ago
parent
commit
5a60edb1c6
  1. 2
      src/uas/QGCMAVLinkUASFactory.cc

2
src/uas/QGCMAVLinkUASFactory.cc

@ -79,7 +79,7 @@ UASInterface* QGCMAVLinkUASFactory::createUAS(MAVLinkProtocol* mavlink, LinkInte @@ -79,7 +79,7 @@ UASInterface* QGCMAVLinkUASFactory::createUAS(MAVLinkProtocol* mavlink, LinkInte
uas->addLink(link);
// First thing we do with a new UAS is get the parameters
uas->requestParameters();
uas->getParamManager()->requestParameterList();
// Now add UAS to "official" list, which makes the whole application aware of it
UASManager::instance()->addUAS(uas);

Loading…
Cancel
Save