mirror of
https://github.com/ttrftech/NanoVNA.git
synced 2026-01-01 14:10:00 +01:00
Merge branch 'master' of git://github.com/ttrftech/NanoVNA
This commit is contained in:
commit
7d354e39fc
3
main.c
3
main.c
|
|
@ -825,6 +825,7 @@ void
|
|||
set_sweep_frequency(int type, float frequency)
|
||||
{
|
||||
int32_t freq = frequency;
|
||||
int cal_applied = cal_status & CALSTAT_APPLY;
|
||||
switch (type) {
|
||||
case ST_START:
|
||||
freq_mode_startstop();
|
||||
|
|
@ -904,7 +905,7 @@ set_sweep_frequency(int type, float frequency)
|
|||
break;
|
||||
}
|
||||
|
||||
if (cal_auto_interpolate && (cal_status & CALSTAT_APPLY))
|
||||
if (cal_auto_interpolate && cal_applied)
|
||||
cal_interpolate(lastsaveid);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue