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

fixed the Galileo E1 channel allocation when using the FPGA

This commit is contained in:
Marc Majoral 2021-05-18 12:25:15 +02:00 committed by Carles Fernandez
parent 6dedcb6c3a
commit 12298ed931

View File

@ -74,7 +74,7 @@ GalileoE1DllPllVemlTrackingFpga::GalileoE1DllPllVemlTrackingFpga(
{ {
for (uint32_t k = 0; k < configuration->property("Channels_1C.count", 0U); k++) for (uint32_t k = 0; k < configuration->property("Channels_1C.count", 0U); k++)
{ {
if (find_uio_dev_file_name(device_io_name, default_device_name_GPS_L1, k + 1) == 0) if (find_uio_dev_file_name(device_io_name, default_device_name_GPS_L1, k) == 0)
{ {
num_prev_assigned_ch_1C = num_prev_assigned_ch_1C + 1; num_prev_assigned_ch_1C = num_prev_assigned_ch_1C + 1;
} }