From 5b2f7a0617757dd71893379eb1e3b4efd4251413 Mon Sep 17 00:00:00 2001 From: Marc Majoral Date: Mon, 29 Jun 2020 11:08:49 +0200 Subject: [PATCH] increased the number of bits of the PRN code resampler --- src/algorithms/tracking/libs/fpga_multicorrelator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/algorithms/tracking/libs/fpga_multicorrelator.h b/src/algorithms/tracking/libs/fpga_multicorrelator.h index 242f3b468..cb4aab535 100644 --- a/src/algorithms/tracking/libs/fpga_multicorrelator.h +++ b/src/algorithms/tracking/libs/fpga_multicorrelator.h @@ -189,7 +189,7 @@ private: static const uint32_t init_secondary_code_addresses = 4; // bit 2 of drop_samples_reg_addr static const uint32_t page_size = 0x10000; static const uint32_t max_length_deviceio_name = 50; - static const uint32_t max_code_resampler_counter = 1 << 20; // 2^(number of bits of precision of the code resampler) + static const uint32_t max_code_resampler_counter = 1 << 31; // 2^(number of bits of precision of the code resampler) static const uint32_t local_code_fpga_clear_address_counter = 0x10000000; static const uint32_t test_register_track_writeval = 0x55AA;