1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 20:20:35 +00:00

start the DMA only when then the receiver is in post-processing mode

This commit is contained in:
Marc Majoral 2020-09-10 11:57:50 +02:00 committed by Carles Fernandez
parent 933873c265
commit 6fcae1a917

View File

@ -111,7 +111,11 @@ void GNSSFlowgraph::start()
}
#ifdef ENABLE_FPGA
sig_source_.at(0)->start();
// start the DMA if the receiver is in post-processing mode
if (configuration_->property(sig_source_.at(0)->role() + ".switch_position", 0) == 0)
{
sig_source_.at(0)->start();
}
#endif
running_ = true;