From f549453b7edbd87e511d5f54627f4f7abb9eb21e 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 3386deab7..aceff3b71 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