mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-02-07 14:40:12 +00:00
cleaned comments
This commit is contained in:
parent
9e552b9cda
commit
312e8c6c9c
@ -94,7 +94,7 @@ Ad9361FpgaSignalSource::Ad9361FpgaSignalSource(const ConfigurationInterface *con
|
|||||||
|
|
||||||
// Switch UIO device file
|
// Switch UIO device file
|
||||||
std::string device_io_name;
|
std::string device_io_name;
|
||||||
// find the uio device file corresponding to the GNSS reset module
|
// find the uio device file corresponding to the switch.
|
||||||
if (find_uio_dev_file_name(device_io_name, switch_device_name, 0) < 0)
|
if (find_uio_dev_file_name(device_io_name, switch_device_name, 0) < 0)
|
||||||
{
|
{
|
||||||
std::cout << "Cannot find the FPGA uio device file corresponding to device name " << switch_device_name << std::endl;
|
std::cout << "Cannot find the FPGA uio device file corresponding to device name " << switch_device_name << std::endl;
|
||||||
@ -303,11 +303,14 @@ Ad9361FpgaSignalSource::Ad9361FpgaSignalSource(const ConfigurationInterface *con
|
|||||||
{
|
{
|
||||||
std::string device_io_name_dyn_bit_sel_0, device_io_name_dyn_bit_sel_1;
|
std::string device_io_name_dyn_bit_sel_0, device_io_name_dyn_bit_sel_1;
|
||||||
|
|
||||||
|
// find the uio device file corresponding to the dynamic bit selector 0 module.
|
||||||
if (find_uio_dev_file_name(device_io_name_dyn_bit_sel_0, dyn_bit_sel_device_name, 0) < 0)
|
if (find_uio_dev_file_name(device_io_name_dyn_bit_sel_0, dyn_bit_sel_device_name, 0) < 0)
|
||||||
{
|
{
|
||||||
std::cout << "Cannot find the FPGA uio device file corresponding to device name " << dyn_bit_sel_device_name << std::endl;
|
std::cout << "Cannot find the FPGA uio device file corresponding to device name " << dyn_bit_sel_device_name << std::endl;
|
||||||
throw std::exception();
|
throw std::exception();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// find the uio device file corresponding to the dynamic bit selector 1 module.
|
||||||
if (find_uio_dev_file_name(device_io_name_dyn_bit_sel_1, dyn_bit_sel_device_name, 1) < 0)
|
if (find_uio_dev_file_name(device_io_name_dyn_bit_sel_1, dyn_bit_sel_device_name, 1) < 0)
|
||||||
{
|
{
|
||||||
std::cout << "Cannot find the FPGA uio device file corresponding to device name " << dyn_bit_sel_device_name << std::endl;
|
std::cout << "Cannot find the FPGA uio device file corresponding to device name " << dyn_bit_sel_device_name << std::endl;
|
||||||
|
@ -187,7 +187,7 @@ void GalileoE1DllPllVemlTrackingFpga::set_channel(unsigned int channel)
|
|||||||
|
|
||||||
// UIO device file
|
// UIO device file
|
||||||
std::string device_io_name;
|
std::string device_io_name;
|
||||||
// find the uio device file corresponding to the GNSS reset module
|
// find the uio device file corresponding to the tracking multicorrelator
|
||||||
if (find_uio_dev_file_name(device_io_name, device_name, channel - num_prev_assigned_ch) < 0)
|
if (find_uio_dev_file_name(device_io_name, device_name, channel - num_prev_assigned_ch) < 0)
|
||||||
{
|
{
|
||||||
std::cout << "Cannot find the FPGA uio device file corresponding to device name " << device_name << std::endl;
|
std::cout << "Cannot find the FPGA uio device file corresponding to device name " << device_name << std::endl;
|
||||||
|
@ -210,7 +210,7 @@ void GalileoE5aDllPllTrackingFpga::set_channel(unsigned int channel)
|
|||||||
|
|
||||||
// UIO device file
|
// UIO device file
|
||||||
std::string device_io_name;
|
std::string device_io_name;
|
||||||
// find the uio device file corresponding to the GNSS reset module
|
// find the uio device file corresponding to the tracking multicorrelator
|
||||||
if (find_uio_dev_file_name(device_io_name, device_name, channel - num_prev_assigned_ch) < 0)
|
if (find_uio_dev_file_name(device_io_name, device_name, channel - num_prev_assigned_ch) < 0)
|
||||||
{
|
{
|
||||||
std::cout << "Cannot find the FPGA uio device file corresponding to device name " << device_name << std::endl;
|
std::cout << "Cannot find the FPGA uio device file corresponding to device name " << device_name << std::endl;
|
||||||
|
@ -156,7 +156,7 @@ void GpsL1CaDllPllTrackingFpga::set_channel(unsigned int channel)
|
|||||||
|
|
||||||
// UIO device file
|
// UIO device file
|
||||||
std::string device_io_name;
|
std::string device_io_name;
|
||||||
// find the uio device file corresponding to the GNSS reset module
|
// find the uio device file corresponding to the tracking multicorrelator
|
||||||
if (find_uio_dev_file_name(device_io_name, device_name, channel - num_prev_assigned_ch) < 0)
|
if (find_uio_dev_file_name(device_io_name, device_name, channel - num_prev_assigned_ch) < 0)
|
||||||
{
|
{
|
||||||
std::cout << "Cannot find the FPGA uio device file corresponding to device name " << device_name << std::endl;
|
std::cout << "Cannot find the FPGA uio device file corresponding to device name " << device_name << std::endl;
|
||||||
|
@ -134,7 +134,7 @@ void GpsL2MDllPllTrackingFpga::set_channel(unsigned int channel)
|
|||||||
|
|
||||||
// UIO device file
|
// UIO device file
|
||||||
std::string device_io_name;
|
std::string device_io_name;
|
||||||
// find the uio device file corresponding to the GNSS reset module
|
// find the uio device file corresponding to the tracking multicorrelator
|
||||||
if (find_uio_dev_file_name(device_io_name, device_name, channel - num_prev_assigned_ch) < 0)
|
if (find_uio_dev_file_name(device_io_name, device_name, channel - num_prev_assigned_ch) < 0)
|
||||||
{
|
{
|
||||||
std::cout << "Cannot find the FPGA uio device file corresponding to device name " << device_name << std::endl;
|
std::cout << "Cannot find the FPGA uio device file corresponding to device name " << device_name << std::endl;
|
||||||
|
@ -218,7 +218,7 @@ void GpsL5DllPllTrackingFpga::set_channel(unsigned int channel)
|
|||||||
|
|
||||||
// UIO device file
|
// UIO device file
|
||||||
std::string device_io_name;
|
std::string device_io_name;
|
||||||
// find the uio device file corresponding to the GNSS reset module
|
// find the uio device file corresponding to the tracking multicorrelator
|
||||||
if (find_uio_dev_file_name(device_io_name, device_name, channel - num_prev_assigned_ch) < 0)
|
if (find_uio_dev_file_name(device_io_name, device_name, channel - num_prev_assigned_ch) < 0)
|
||||||
{
|
{
|
||||||
std::cout << "Cannot find the FPGA uio device file corresponding to device name " << device_name << std::endl;
|
std::cout << "Cannot find the FPGA uio device file corresponding to device name " << device_name << std::endl;
|
||||||
|
@ -135,7 +135,7 @@ void gnss_sdr_fpga_sample_counter::open_device()
|
|||||||
{
|
{
|
||||||
// UIO device file
|
// UIO device file
|
||||||
std::string device_io_name;
|
std::string device_io_name;
|
||||||
// find the uio device file corresponding to the GNSS reset module
|
// find the uio device file corresponding to the sample counter module
|
||||||
if (find_uio_dev_file_name(device_io_name, device_name, 0) < 0)
|
if (find_uio_dev_file_name(device_io_name, device_name, 0) < 0)
|
||||||
{
|
{
|
||||||
std::cout << "Cannot find the FPGA uio device file corresponding to device name " << device_name << std::endl;
|
std::cout << "Cannot find the FPGA uio device file corresponding to device name " << device_name << std::endl;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user