mirror of
https://github.com/ttrftech/NanoVNA.git
synced 2026-01-04 23:50:09 +01:00
Set minimum calibration bandwidth as BANDWIDTH_100 (can be greater if manually set)
Need for speedup calibrate if need
This commit is contained in:
parent
48e28f79d0
commit
59b9534a5c
5
main.c
5
main.c
|
|
@ -1330,9 +1330,10 @@ cal_collect(int type)
|
|||
default:
|
||||
return;
|
||||
}
|
||||
// Run sweep for collect data (use maximum bandwidth setting)
|
||||
// Run sweep for collect data (use minimum BANDWIDTH_100, or bigger if set)
|
||||
uint8_t bw = bandwidth; // store current setting
|
||||
bandwidth = BANDWIDTH_10;
|
||||
if (bw < BANDWIDTH_100)
|
||||
bandwidth = BANDWIDTH_100;
|
||||
sweep(false);
|
||||
bandwidth = bw; // restore
|
||||
// Copy calibration data
|
||||
|
|
|
|||
Loading…
Reference in a new issue