mirror of
https://github.com/ttrftech/NanoVNA.git
synced 2026-04-04 14:07:45 +00:00
make controlable marker with lever switch, test menu display
This commit is contained in:
parent
23f2b7f695
commit
5498d63751
5 changed files with 106 additions and 30 deletions
1
dsp.c
1
dsp.c
|
|
@ -134,6 +134,7 @@ void calclate_gamma(float *gamma)
|
|||
acc_ref += (float)rr*rr + (float)ri*ri;
|
||||
}
|
||||
rn = sqrtf(acc_ref / len) * 2e3 * len;
|
||||
//rn = acc_ref;
|
||||
gamma[0] = -acc_r / rn;
|
||||
gamma[1] = -acc_i / rn;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue