From 12dcc6c40ffcd434e094370def1048c98e1444a5 Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Mon, 15 May 2017 17:59:09 +0200 Subject: Minor fixes on AMPS messages - Flipping polarity is now performed after B/I has been applied - Correcting sysinfo --- src/amps/dsp.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/amps/dsp.c') diff --git a/src/amps/dsp.c b/src/amps/dsp.c index b79abc6..de31907 100644 --- a/src/amps/dsp.c +++ b/src/amps/dsp.c @@ -393,6 +393,9 @@ again: } if (c == 'i') c = (amps->channel_busy) ? '0' : '1'; + /* invert, if polarity of the cell is negative */ + if (amps->flip_polarity) + c ^= 1; len = fsk_encode(amps, c); amps->fsk_tx_frame_pos++; } -- cgit v1.2.3