Commit 3713adf2 authored by tstellanova's avatar tstellanova

fix null ptr exception

parent 548a0097
...@@ -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; componentMulti[i] = false;
} }
paramDataModel = new UASParameterDataModel(this);
paramDataModel->setUASID(this->getUASID()); paramDataModel->setUASID(this->getUASID());
// Store a list of available actions for this UAS. // Store a list of available actions for this UAS.
......
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