preamble: invert symbols to match BPSK convention

This commit is contained in:
Thomas Kolb 2024-04-27 22:42:32 +02:00
parent c6ea578808
commit 033c26bcae

View file

@ -19,7 +19,7 @@ const float complex* preamble_get_symbols(void)
for(unsigned i = 0; i < PREAMBLE_LEN; i++) {
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);