mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-06 15:04:11 +00:00
use frequency calibration when shifting 2.LO
This commit is contained in:
parent
15d893d3cc
commit
5136418e26
2 changed files with 4 additions and 3 deletions
|
|
@ -379,6 +379,7 @@ void VNA::SweepHalted() {
|
|||
LOG_DEBUG("Halted before point %d", pointCnt);
|
||||
bool adcShiftRequired = false;
|
||||
uint64_t frequency = getPointFrequency(pointCnt);
|
||||
frequency = Cal::FrequencyCorrectionToDevice(frequency);
|
||||
int16_t power = settings.cdbm_excitation_start
|
||||
+ (settings.cdbm_excitation_stop - settings.cdbm_excitation_start)
|
||||
* pointCnt / (settings.points - 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue