mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-02-19 04:20:08 +00:00
fixing initialization
This commit is contained in:
parent
769a14cb59
commit
644af36a5e
@ -104,8 +104,7 @@ void galileo_e5_a_code_gen_complex_sampled(std::complex<float>* _dest, char _Sig
|
|||||||
unsigned int _codeLength = Galileo_E5a_CODE_LENGTH_CHIPS;
|
unsigned int _codeLength = Galileo_E5a_CODE_LENGTH_CHIPS;
|
||||||
const int _codeFreqBasis = Galileo_E5a_CODE_CHIP_RATE_HZ; //Hz
|
const int _codeFreqBasis = Galileo_E5a_CODE_CHIP_RATE_HZ; //Hz
|
||||||
|
|
||||||
std::complex<float>* _code;
|
std::complex<float>* _code = new std::complex<float>[_codeLength]();
|
||||||
_code = new std::complex<float>[_codeLength];
|
|
||||||
|
|
||||||
galileo_e5_a_code_gen_complex_primary(_code , _prn , _Signal);
|
galileo_e5_a_code_gen_complex_primary(_code , _prn , _Signal);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user