Browse Source

fix null ptr exception

QGC4.4
tstellanova 12 years ago
parent
commit
e39d9db463
  1. 1
      src/uas/UAS.cc

1
src/uas/UAS.cc

@ -152,6 +152,7 @@ UAS::UAS(MAVLinkProtocol* protocol, int id) : UASInterface(), @@ -152,6 +152,7 @@ UAS::UAS(MAVLinkProtocol* protocol, int id) : UASInterface(),
componentMulti[i] = false;
}
paramDataModel = new UASParameterDataModel(this);
paramDataModel->setUASID(this->getUASID());
// Store a list of available actions for this UAS.

Loading…
Cancel
Save