]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
Sets fft size to 2048 by default. Need to delete props file before running
authorJohn Melton - G0ORX/N6LYT <john.d.melton@googlemail.com>
Thu, 9 Mar 2017 12:05:07 +0000 (12:05 +0000)
committerJohn Melton - G0ORX/N6LYT <john.d.melton@googlemail.com>
Thu, 9 Mar 2017 12:05:07 +0000 (12:05 +0000)
radio.c
transmitter.c

diff --git a/radio.c b/radio.c
index d0ec8985c92e5ef22ef1214cc9c063564eb228b6..48206a3ece8998dd6e67fcec2e32a0aecfd2d216 100644 (file)
--- a/radio.c
+++ b/radio.c
@@ -113,7 +113,7 @@ RECEIVER *active_receiver;
 TRANSMITTER *transmitter;
 
 int buffer_size=1024; // 64, 128, 256, 512, 1024
-int fft_size=4096; // 1024, 2048, 4096, 8192, 16384
+int fft_size=2048; // 1024, 2048, 4096, 8192, 16384
 
 int atlas_penelope=0;
 int atlas_clock_source_10mhz=0;
index d2d9b4e5ad46f30ab78c87310ac67e60e61c98e9..289aa834d9e5fdcb9df3a03136af9acd33284f15 100644 (file)
@@ -416,6 +416,7 @@ fprintf(stderr,"transmitter: allocate buffers: mic_input_buffer=%d iq_output_buf
               0, // run
               0.010, 0.025, 0.0, 0.010, 0);
 
+fprintf(stderr,"TXASetNC\n");
   TXASetNC(tx->id, tx->fft_size);
   TXASetMP(tx->id, tx->low_latency);
 
@@ -462,6 +463,7 @@ fprintf(stderr,"transmitter: allocate buffers: mic_input_buffer=%d iq_output_buf
   SetTXAPanelGain1(tx->id,gain);
   SetTXAPanelRun(tx->id, 1);
 
+
   XCreateAnalyzer(tx->id, &rc, 262144, 1, 1, "");
   if (rc != 0) {
     fprintf(stderr, "XCreateAnalyzer id=%d failed: %d\n",tx->id,rc);