mirror of
https://github.com/ttrftech/NanoVNA.git
synced 2025-12-06 03:31:59 +01:00
fix unstable measurements #2
This commit is contained in:
parent
d1c6ccfe61
commit
2ba09fb637
3
main.c
3
main.c
|
|
@ -672,6 +672,9 @@ bool sweep(bool break_on_operation)
|
||||||
|
|
||||||
for (i = 0; i < sweep_points; i++) {
|
for (i = 0; i < sweep_points; i++) {
|
||||||
int delay = set_frequency(frequencies[i]);
|
int delay = set_frequency(frequencies[i]);
|
||||||
|
delay = delay < 3 ? 3 : delay;
|
||||||
|
delay = delay > 8 ? 8 : delay;
|
||||||
|
|
||||||
tlv320aic3204_select_in3(); // CH0:REFLECT
|
tlv320aic3204_select_in3(); // CH0:REFLECT
|
||||||
wait_dsp(delay);
|
wait_dsp(delay);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue