From: c vw <chwu@vpn-ipv4-0464.triple-a.uni-kl.de>
Date: Sat, 27 Jul 2019 09:13:19 +0000 (+0200)
Subject: oops.
X-Git-Url: https://git.rkrishnan.org/pf/frontends/pb.xhtml?a=commitdiff_plain;h=aa868307d22096fe486959b9bff82e15c68667bf;p=pihpsdr.git

oops.
---

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)