QPSK dcd postamble

Restored CW postamble to QPSK signal encoder
pull/2/head
David Freese 2010-04-08 12:22:27 -05:00
rodzic 1aae11e61c
commit 586e3d5ea2
1 zmienionych plików z 8 dodań i 8 usunięć

Wyświetl plik

@ -1018,20 +1018,20 @@ void psk::tx_char(unsigned char c)
void psk::tx_flush()
{
if (_pskr) {
for (int i = 0; i < dcdbits; i++)
tx_bit(0);
}
// QPSK - flush the encoder
if (_qpsk) {
for (int i = 0; i < dcdbits; i++)
tx_bit(0);
// FEC : replace unmodulated carrier by an encoded sequence of zeros
} else if (_pskr) {
for (int i = 0; i < dcdbits; i++)
tx_bit(0);
} else {
// Standard BPSK postamble
// DCD off sequence (unmodulated carrier)
for (int i = 0; i < dcdbits; i++)
tx_symbol(2);
}
// Standard BPSK postamble
// DCD off sequence (unmodulated carrier)
for (int i = 0; i < dcdbits; i++)
tx_symbol(2);
}
// Necessary to clear the interleaver before we start sending