mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-09-12 07:46:03 +00:00
solved a bug in the E1 data code generation optimization
This commit is contained in:
@@ -258,7 +258,7 @@ GalileoE1DllPllVemlTrackingFpga::GalileoE1DllPllVemlTrackingFpga(
|
||||
// The code is generated as a series of 1s and -1s. In order to store the values using only one bit, a -1 is stored as a 0 in the FPGA
|
||||
for (uint32_t s = 0; s < 2 * GALILEO_E1_B_CODE_LENGTH_CHIPS; s++)
|
||||
{
|
||||
uint32_t tmp_value = static_cast<int32_t>(ca_codes_f[s]);
|
||||
int32_t tmp_value = static_cast<int32_t>(ca_codes_f[s]);
|
||||
if (tmp_value < 0)
|
||||
{
|
||||
tmp_value = 0;
|
||||
|
Reference in New Issue
Block a user