mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-09-01 10:28:00 +00:00
fixing initialization
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user