|
|
|
@ -816,6 +816,7 @@ void
|
|
|
|
set_sweep_frequency(int type, float frequency)
|
|
|
|
set_sweep_frequency(int type, float frequency)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
int32_t freq = frequency;
|
|
|
|
int32_t freq = frequency;
|
|
|
|
|
|
|
|
int cal_applied = cal_status & CALSTAT_APPLY;
|
|
|
|
switch (type) {
|
|
|
|
switch (type) {
|
|
|
|
case ST_START:
|
|
|
|
case ST_START:
|
|
|
|
freq_mode_startstop();
|
|
|
|
freq_mode_startstop();
|
|
|
|
@ -895,7 +896,7 @@ set_sweep_frequency(int type, float frequency)
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (cal_auto_interpolate && (cal_status & CALSTAT_APPLY))
|
|
|
|
if (cal_auto_interpolate && cal_applied)
|
|
|
|
cal_interpolate(lastsaveid);
|
|
|
|
cal_interpolate(lastsaveid);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|