mirror of
https://github.com/ttrftech/NanoVNA.git
synced 2025-12-06 03:31:59 +01:00
fix: adjust delay
This commit is contained in:
parent
47fec0b024
commit
f6e9c6f434
4
main.c
4
main.c
|
|
@ -652,7 +652,7 @@ ensure_edit_config(void)
|
|||
cal_status = 0;
|
||||
}
|
||||
|
||||
#define DELAY_CHANNEL_CHANGE 1
|
||||
#define DELAY_CHANNEL_CHANGE 3
|
||||
|
||||
// main loop for measurement
|
||||
bool sweep(bool break_on_operation)
|
||||
|
|
@ -671,7 +671,7 @@ bool sweep(bool break_on_operation)
|
|||
(*sample_func)(measured[0][i]);
|
||||
|
||||
tlv320aic3204_select(1); // CH1:TRANSMISSION
|
||||
wait_dsp(delay + DELAY_CHANNEL_CHANGE);
|
||||
wait_dsp(DELAY_CHANNEL_CHANGE);
|
||||
|
||||
/* calculate transmission coeficient */
|
||||
(*sample_func)(measured[1][i]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue