From 721c6d564e496c964c2e784ff939c64f365f8668 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Mon, 29 Oct 2018 10:49:00 -0700 Subject: [PATCH] Fix multi-component handling. --- src/FactSystem/ParameterManager.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/FactSystem/ParameterManager.cc b/src/FactSystem/ParameterManager.cc index 78fe43f0c..98361a822 100644 --- a/src/FactSystem/ParameterManager.cc +++ b/src/FactSystem/ParameterManager.cc @@ -347,12 +347,12 @@ void ParameterManager::_parameterUpdate(int vehicleId, int componentId, QString // Add meta data to default component. We need to do this before we setup the group map since group // map requires meta data. _addMetaDataToDefaultComponent(); - } - // When we are getting the very last component param index, reset the group maps to update for the - // new params. By handling this here, we can pick up components which finish up later than the default - // component param set. - _setupCategoryMap(); + // When we are getting the very last component param index, reset the group maps to update for the + // new params. By handling this here, we can pick up components which finish up later than the default + // component param set. + _setupCategoryMap(); + } } // Update param cache. The param cache is only used on PX4 Firmware since ArduPilot and Solo have volatile params -- 2.22.0