mirror of
https://github.com/ttrftech/NanoVNA.git
synced 2026-04-05 06:25:36 +00:00
omit: unused buffer refiq
This commit is contained in:
parent
398eae3106
commit
c4edf2a6eb
3 changed files with 1 additions and 8 deletions
3
dsp.c
3
dsp.c
|
|
@ -22,9 +22,7 @@
|
|||
#include "nanovna.h"
|
||||
|
||||
int16_t samp_buf[SAMPLE_LEN];
|
||||
int16_t ref_state[STATE_LEN];
|
||||
int16_t ref_buf[SAMPLE_LEN];
|
||||
int16_t refiq_buf[AUDIO_BUFFER_LEN];
|
||||
|
||||
const int16_t sincos_tbl[48][2] = {
|
||||
{ 10533, 31029 }, { 27246, 18205 }, { 32698, -2143 }, { 24636, -21605 },
|
||||
|
|
@ -86,6 +84,7 @@ dsp_process(int16_t *capture, size_t length)
|
|||
void
|
||||
calculate_gamma(float gamma[2])
|
||||
{
|
||||
// calculate reflection coeff. by samp divide by ref
|
||||
float rs = acc_ref_s;
|
||||
float rc = acc_ref_c;
|
||||
float rr = rs * rs + rc * rc;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue