mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 20:20:35 +00:00
solved a bug in the E1 data code generation optimization
This commit is contained in:
parent
553946fb65
commit
d8e8b8a5a0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user