preamble: invert symbols to match BPSK convention
This commit is contained in:
parent
c6ea578808
commit
033c26bcae
|
@ -19,7 +19,7 @@ const float complex* preamble_get_symbols(void)
|
||||||
|
|
||||||
for(unsigned i = 0; i < PREAMBLE_LEN; i++) {
|
for(unsigned i = 0; i < PREAMBLE_LEN; i++) {
|
||||||
unsigned int bit = msequence_advance(mseq);
|
unsigned int bit = msequence_advance(mseq);
|
||||||
symbol_cache[i] = bit ? 1.0f : -1.0f;
|
symbol_cache[i] = bit ? -1.0f : 1.0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
msequence_destroy(mseq);
|
msequence_destroy(mseq);
|
||||||
|
|
Loading…
Reference in a new issue