From e39d9db46336ba721a69079a96ca67155ec34afc Mon Sep 17 00:00:00 2001 From: tstellanova Date: Mon, 5 Aug 2013 17:56:59 -0700 Subject: [PATCH] fix null ptr exception --- src/uas/UAS.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/uas/UAS.cc b/src/uas/UAS.cc index 8a8ef7539..597472af5 100644 --- a/src/uas/UAS.cc +++ b/src/uas/UAS.cc @@ -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. -- 2.22.0