mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-11-26 03:54:55 +00:00
When using the FPGA in post-processing mode, start the DMA after instantiating the complete flowgraph, not before.
This commit is contained in:
committed by
Carles Fernandez
parent
a406515ac3
commit
933873c265
@@ -148,8 +148,6 @@ Ad9361FpgaSignalSource::Ad9361FpgaSignalSource(const ConfigurationInterface *con
|
||||
{
|
||||
freq_band = "L1L2";
|
||||
}
|
||||
|
||||
thread_file_to_dma = std::thread([&] { run_DMA_process(freq_band, filename_rx1, filename_rx2); });
|
||||
}
|
||||
if (switch_position == 2) // Real-time via AD9361
|
||||
{
|
||||
@@ -368,6 +366,11 @@ Ad9361FpgaSignalSource::~Ad9361FpgaSignalSource()
|
||||
}
|
||||
}
|
||||
|
||||
void Ad9361FpgaSignalSource::start()
|
||||
{
|
||||
thread_file_to_dma = std::thread([&] { run_DMA_process(freq_band, filename_rx1, filename_rx2); });
|
||||
}
|
||||
|
||||
|
||||
void Ad9361FpgaSignalSource::run_DMA_process(const std::string &FreqBand, const std::string &Filename1, const std::string &Filename2)
|
||||
{
|
||||
|
||||
@@ -43,6 +43,8 @@ public:
|
||||
|
||||
~Ad9361FpgaSignalSource();
|
||||
|
||||
void start();
|
||||
|
||||
inline std::string role() override
|
||||
{
|
||||
return role_;
|
||||
|
||||
Reference in New Issue
Block a user