diff options
| author | Dave Hibberd <hibby@debian.org> | 2024-07-23 21:26:30 +0100 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2024-07-23 21:26:30 +0100 |
| commit | b1d1488de60dfff8b89872f863098a884133852f (patch) | |
| tree | 71bff59b52ada4ab5d74a74f2186ac893d624a04 /sm_main.c | |
| parent | 0804f4a994d4d16438baa207f7cd0ba8400e9494 (diff) | |
New upstream version 0.0.0.72.1upstream/0.0.0.72.1
Diffstat (limited to 'sm_main.c')
| -rw-r--r-- | sm_main.c | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -74,8 +74,8 @@ int Channels = 2; int BitsPerSample = 16;
float TX_Samplerate = 12000;
float RX_Samplerate = 12000;
-int RX_SR = 11025;
-int TX_SR = 11025;
+//int RX_SR = 11025;
+//int TX_SR = 11025;
int RX_PPM = 0;
int TX_PPM = 0;
int tx_bufsize = 512;
@@ -448,11 +448,12 @@ void init_Q4800(int snd_ch) void init_Q3600(int snd_ch)
{
- qpsk_set[snd_ch].mode = QPSK_SM;
+ qpsk_set[snd_ch].mode = QPSK_V26; // QPSK_SM;
modem_mode[snd_ch] = MODE_QPSK;
rx_shift[snd_ch] = 1800;
rx_baudrate[snd_ch] = 1800;
tx_bitrate[snd_ch] = 3600;
+ pskStates[snd_ch] = 4;
if (modem_def[snd_ch])
get_filter_values(snd_ch);
}
@@ -1041,7 +1042,10 @@ void BufferFull(short * Samples, int nSamples) // These are Stereo Samples // We need to run the waterfall FFT for the frequency guessing to work
+
int FirstWaterfallChan = 0;
+
+
short * ptr1 = &fft_buf[0][fftCount];
short * ptr2 = &fft_buf[1][fftCount];
@@ -1087,7 +1091,7 @@ void BufferFull(short * Samples, int nSamples) // These are Stereo Samples data2 += 2;
}
if (((Toggle & 1) == 0))
- doWaterfall(1);
+ doWaterfall(1);
}
if (Firstwaterfall || Secondwaterfall)
|
