1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-05 01:26:24 +00:00

fixed doppler variable type

This commit is contained in:
Marc Majoral 2020-09-01 16:00:00 +02:00
parent df2f84dfb0
commit 70ceb4d11f

View File

@ -180,7 +180,7 @@ void pcps_acquisition_fpga::acquisition_core(uint32_t num_doppler_bins, uint32_t
&d_doppler_index, &d_doppler_index,
&total_block_exp); &total_block_exp);
const auto doppler = static_cast<int32_t>(doppler_min) + doppler_step * (d_doppler_index - 1); const int32_t doppler = static_cast<int32_t>(doppler_min) + doppler_step * (d_doppler_index - 1);
if (total_block_exp > d_total_block_exp) if (total_block_exp > d_total_block_exp)
{ {