From aa868307d22096fe486959b9bff82e15c68667bf Mon Sep 17 00:00:00 2001 From: c vw Date: Sat, 27 Jul 2019 11:13:19 +0200 Subject: [PATCH] oops. --- old_protocol.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/old_protocol.c b/old_protocol.c index 42f0b6b..7e66582 100644 --- a/old_protocol.c +++ b/old_protocol.c @@ -867,7 +867,7 @@ static void process_ozy_input_buffer(unsigned char *buffer) { // if (r == rx1channel) { add_iq_samples(receiver[0], left_sample_double,right_sample_double); - } else if (r == rx2channel ]] receivers > 1) { + } else if (r == rx2channel && receivers > 1) { add_iq_samples(receiver[1], left_sample_double,right_sample_double); } } @@ -1105,7 +1105,9 @@ void ozy_send_buffer() { // the feedback signal is routed automatically/internally // If feedback is to the second ADC, leave RX1 ANT settings untouched // +#ifdef PURESIGNAL if (isTransmitting() && transmitter->puresignal) i=receiver[PS_RX_FEEDBACK]->alex_antenna; +#endif switch(i) { case 6: // EXT1 used for PS feedback case 3: // EXT1 (RX2_IN) -- 2.45.2