From 70ceb4d11f8f008f89f55f32d48a77e4f3fcf600 Mon Sep 17 00:00:00 2001 From: Marc Majoral Date: Tue, 1 Sep 2020 16:00:00 +0200 Subject: [PATCH] fixed doppler variable type --- .../acquisition/gnuradio_blocks/pcps_acquisition_fpga.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/algorithms/acquisition/gnuradio_blocks/pcps_acquisition_fpga.cc b/src/algorithms/acquisition/gnuradio_blocks/pcps_acquisition_fpga.cc index 7d9f58591..e009b9c59 100644 --- a/src/algorithms/acquisition/gnuradio_blocks/pcps_acquisition_fpga.cc +++ b/src/algorithms/acquisition/gnuradio_blocks/pcps_acquisition_fpga.cc @@ -180,7 +180,7 @@ void pcps_acquisition_fpga::acquisition_core(uint32_t num_doppler_bins, uint32_t &d_doppler_index, &total_block_exp); - const auto doppler = static_cast(doppler_min) + doppler_step * (d_doppler_index - 1); + const int32_t doppler = static_cast(doppler_min) + doppler_step * (d_doppler_index - 1); if (total_block_exp > d_total_block_exp) {