Reduce duplicated code

This commit is contained in:
Carles Fernandez
2025-11-03 19:58:00 +01:00
parent 47329bb5eb
commit eb2f52266b
4 changed files with 0 additions and 16 deletions
@@ -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
};