mirror of
https://github.com/ttrftech/NanoVNA.git
synced 2026-04-21 06:14:05 +00:00
fix: adjust delay
This commit is contained in:
parent
47fec0b024
commit
f6e9c6f434
2 changed files with 3 additions and 3 deletions
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]);
|
||||
|
|
|
|||
2
si5351.c
2
si5351.c
|
|
@ -296,7 +296,7 @@ si5351_set_frequency(int channel, int freq, uint8_t drive_strength)
|
|||
|
||||
int current_band = -1;
|
||||
|
||||
#define DELAY_NORMAL 2
|
||||
#define DELAY_NORMAL 3
|
||||
#define DELAY_BANDCHANGE 1
|
||||
#define DELAY_LOWBAND 1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue