Fix: SSB TX quality improvement for cases when modulation is on the ow side.

pull/55/merge
guido 2021-06-08 15:51:24 +02:00
rodzic f632dac0a9
commit 49cfffec4c
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -1897,7 +1897,7 @@ inline int16_t arctan3(int16_t q, int16_t i) // error ~ 0.8 degree
uint8_t lut[256];
volatile uint8_t amp;
volatile uint8_t vox_thresh = (1 << 0); //(1 << 2);
volatile uint8_t vox_thresh = (1 << 1); //(1 << 2);
volatile uint8_t drive = 2; // hmm.. drive>2 impacts cpu load..why?
volatile uint8_t quad = 0;
@ -1916,7 +1916,7 @@ inline int16_t ssb(int16_t in)
dc = (in + dc) / 2; // average
int16_t ac = (in - dc); // DC decoupling
//v[15] = ac;// - z1; // high-pass (emphasis) filter
v[15] = (ac + z1) / 2; // low-pass filter with notch at Fs/2
v[15] = (ac + z1);// / 2; // low-pass filter with notch at Fs/2
z1 = ac;
i = v[7];