From 6ed7a6397de1f5d73ab4c1b11d83461347402723 Mon Sep 17 00:00:00 2001
From: c vw <dl1ycf@darc.de>
Date: Mon, 3 May 2021 09:39:30 +0200
Subject: [PATCH] Reverted "experimental" change since it only works on fast
 computers

---
 transmitter.c | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/transmitter.c b/transmitter.c
index 9eb1d0e..e2c2503 100644
--- a/transmitter.c
+++ b/transmitter.c
@@ -931,14 +931,6 @@ fprintf(stderr,"transmitter: allocate buffers: mic_input_buffer=%d iq_output_buf
           tx->mic_dsp_rate,
           tx->iq_output_rate);
 
-  //
-  // Experimental: set last parameter "bfo" to 1
-  // this should eliminate the "fexchange0: error=-2" messages sometimes seen
-  // BUT this means that wdsp "waits" in fexchange0 for data to become ready.
-  // perhaps this requires moving the fexchange0 call to a separate thread:
-  // add_mic_sample produces that data and sends a signal to the TX thread
-  // that a buffer needs processing.
-  //
   OpenChannel(tx->id,
               tx->buffer_size,
               2048, // tx->fft_size,
@@ -947,7 +939,7 @@ fprintf(stderr,"transmitter: allocate buffers: mic_input_buffer=%d iq_output_buf
               tx->iq_output_rate,
               1, // transmit
               0, // run
-              0.010, 0.025, 0.0, 0.010, 1);
+              0.010, 0.025, 0.0, 0.010, 0);
 
   TXASetNC(tx->id, tx->fft_size);
   TXASetMP(tx->id, tx->low_latency);
-- 
2.45.2