From fbfbf0247a4f6dbe3a85812b2b7514a09b3c9575 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Sat, 6 Sep 2014 00:29:30 +0200 Subject: [PATCH] Fixed broken flowgraph --- src/core/receiver/gnss_flowgraph.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/receiver/gnss_flowgraph.cc b/src/core/receiver/gnss_flowgraph.cc index 83447ffbd..9c7bae826 100644 --- a/src/core/receiver/gnss_flowgraph.cc +++ b/src/core/receiver/gnss_flowgraph.cc @@ -509,7 +509,7 @@ void GNSSFlowgraph::set_signals_list() * Loop to create the list of GNSS Signals * To add signals from other systems, add another loop 'for' */ - if (default_system.compare(std::string("GPS")) == 0 ) + if (default_system.find(std::string("GPS")) != std::string::npos ) { /* * Loop to create GPS L1 C/A signals @@ -528,7 +528,7 @@ void GNSSFlowgraph::set_signals_list() } - if (default_system.compare(std::string("SBAS")) == 0 ) + if (default_system.find(std::string("SBAS")) != std::string::npos) { /* * Loop to create SBAS L1 C/A signals @@ -545,7 +545,7 @@ void GNSSFlowgraph::set_signals_list() } - if (default_system.find(std::string("Galileo")) ) + if (default_system.find(std::string("Galileo")) != std::string::npos) { /* * Loop to create the list of Galileo E1 B signals