mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-07-06 12:02:55 +00:00
Fix warning in Clang 10
This commit is contained in:
parent
447d8a5625
commit
3ca193fd9b
@ -320,8 +320,9 @@ int gps_l1_ca_telemetry_decoder_gs::general_work(int noutput_items __attribute__
|
|||||||
auto **out = reinterpret_cast<Gnss_Synchro **>(&output_items[0]); // Get the output buffer pointer
|
auto **out = reinterpret_cast<Gnss_Synchro **>(&output_items[0]); // Get the output buffer pointer
|
||||||
const auto **in = reinterpret_cast<const Gnss_Synchro **>(&input_items[0]); // Get the input buffer pointer
|
const auto **in = reinterpret_cast<const Gnss_Synchro **>(&input_items[0]); // Get the input buffer pointer
|
||||||
|
|
||||||
|
Gnss_Synchro current_symbol{};
|
||||||
// 1. Copy the current tracking output
|
// 1. Copy the current tracking output
|
||||||
Gnss_Synchro current_symbol = in[0][0];
|
current_symbol = in[0][0];
|
||||||
// add new symbol to the symbol queue
|
// add new symbol to the symbol queue
|
||||||
d_symbol_history.push_back(current_symbol.Prompt_I);
|
d_symbol_history.push_back(current_symbol.Prompt_I);
|
||||||
d_sample_counter++; // count for the processed symbols
|
d_sample_counter++; // count for the processed symbols
|
||||||
|
Loading…
x
Reference in New Issue
Block a user