1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-07-16 16:44:21 +00:00

Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next

This commit is contained in:
Carles Fernandez 2018-05-05 13:24:26 +02:00
commit 0abd4cd85d
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -335,7 +335,7 @@ void GNSSFlowgraph::connect()
} }
#endif #endif
// Signal conditioner (selected_signal_source) >> channels (i) (dependent of their associated SignalSource_ID) // Signal conditioner (selected_signal_source) >> channels (i) (dependent of their associated SignalSource_ID)
int selected_signal_conditioner_ID; int selected_signal_conditioner_ID = 0;
for (unsigned int i = 0; i < channels_count_; i++) for (unsigned int i = 0; i < channels_count_; i++)
{ {
if (FPGA_enabled == false) if (FPGA_enabled == false)
@ -538,9 +538,8 @@ void GNSSFlowgraph::disconnect()
} }
} }
bool FPGA_enabled = configuration_->property(sig_source_.at(0)->role() + ".enable_FPGA", false);
#if ENABLE_FPGA #if ENABLE_FPGA
bool FPGA_enabled = configuration_->property(sig_source_.at(0)->role() + ".enable_FPGA", false);
if (FPGA_enabled == false) if (FPGA_enabled == false)
{ {
// disconnect the signal source to sample counter // disconnect the signal source to sample counter