mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-15 04:30:33 +00:00
Fix inverted spectrum in unpack gss6450 block
This commit is contained in:
parent
7697263a03
commit
752b4396d0
@ -90,8 +90,10 @@ int unpack_spir_gss6450_samples::work(int noutput_items,
|
||||
i_data[k] = bs[i_shift + k];
|
||||
q_data[k] = bs[q_shift + k];
|
||||
}
|
||||
out[i] = gr_complex(static_cast<float>(compute_two_complement(i_data.to_ulong())) + 0.5,
|
||||
static_cast<float>(compute_two_complement(q_data.to_ulong())) + 0.5);
|
||||
//out[i] = gr_complex(static_cast<float>(compute_two_complement(i_data.to_ulong())) + 0.5,
|
||||
// static_cast<float>(compute_two_complement(q_data.to_ulong())) + 0.5);
|
||||
out[i] = gr_complex(static_cast<float>(compute_two_complement(q_data.to_ulong())) + 0.5,
|
||||
static_cast<float>(compute_two_complement(i_data.to_ulong())) + 0.5);
|
||||
n_sample++;
|
||||
if (n_sample == samples_per_int)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user