mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2026-10-19 14:02:37 +00:00
Reduce duplicated code
This commit is contained in:
@@ -162,10 +162,3 @@ GalileoE1DllPllVemlTrackingFpga::~GalileoE1DllPllVemlTrackingFpga()
|
||||
volk_gnsssdr_free(data_codes_ptr_);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
bool GalileoE1DllPllVemlTrackingFpga::find_alternative_device(std::string& device_io_name [[maybe_unused]])
|
||||
{
|
||||
// Galileo E1 does not use an alternative FPGA accelerator
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -49,7 +49,6 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
bool find_alternative_device(std::string& device_io_name);
|
||||
int32_t* prn_codes_ptr_;
|
||||
int32_t* data_codes_ptr_;
|
||||
bool track_pilot_;
|
||||
|
||||
@@ -133,10 +133,3 @@ GpsL2MDllPllTrackingFpga::~GpsL2MDllPllTrackingFpga()
|
||||
{
|
||||
volk_gnsssdr_free(prn_codes_ptr_);
|
||||
}
|
||||
|
||||
|
||||
bool GpsL2MDllPllTrackingFpga::find_alternative_device(std::string& device_io_name [[maybe_unused]])
|
||||
{
|
||||
// No fallback FPGA accelerator for GPS L2M
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -58,7 +58,6 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
bool find_alternative_device(std::string& device_io_name);
|
||||
int32_t* prn_codes_ptr_; // Pointer to local PRN codes
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user