mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-18 21:23:02 +00:00
Merge branch 'mmajoral-fix_dma_input_file_options' into next
This commit is contained in:
commit
84fb6cca40
@ -337,8 +337,23 @@ Ad9361FpgaSignalSource::Ad9361FpgaSignalSource(ConfigurationInterface *configura
|
||||
{
|
||||
enable_DMA_ = true;
|
||||
std::string empty_string;
|
||||
filename_rx1 = configuration->property(role + ".filename_rx1", empty_string);
|
||||
filename_rx2 = configuration->property(role + ".filename_rx2", empty_string);
|
||||
filename_rx1 = configuration->property(role + ".filename", empty_string);
|
||||
|
||||
// override value with commandline flag, if present
|
||||
if (FLAGS_signal_source != "-")
|
||||
{
|
||||
filename_rx1 = FLAGS_signal_source;
|
||||
}
|
||||
if (FLAGS_s != "-")
|
||||
{
|
||||
filename_rx1 = FLAGS_s;
|
||||
}
|
||||
|
||||
if (filename_rx1.empty())
|
||||
{
|
||||
filename_rx1 = configuration->property(role + ".filename0", empty_string);
|
||||
filename_rx2 = configuration->property(role + ".filename1", empty_string);
|
||||
}
|
||||
int l1_band = configuration->property("Channels_1C.count", 0) +
|
||||
configuration->property("Channels_1B.count", 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user