]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
oops.
authorc vw <chwu@vpn-ipv4-0464.triple-a.uni-kl.de>
Sat, 27 Jul 2019 09:13:19 +0000 (11:13 +0200)
committerc vw <chwu@vpn-ipv4-0464.triple-a.uni-kl.de>
Sat, 27 Jul 2019 09:13:19 +0000 (11:13 +0200)
old_protocol.c

index 42f0b6bb6f660f1f36f47fb3f1db420836e32c43..7e665823d5bb0af6183819d654c0648fb516a05c 100644 (file)
@@ -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)