mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-18 04:43:40 +00:00
TCXO offset calibration
This commit is contained in:
parent
4f4b2db549
commit
938f444c73
19 changed files with 319 additions and 34 deletions
|
|
@ -235,7 +235,7 @@ void HW::SetIdle() {
|
|||
|
||||
HW::AmplitudeSettings HW::GetAmplitudeSettings(int16_t cdbm, uint64_t freq, bool applyCorrections, bool port2) {
|
||||
if (applyCorrections) {
|
||||
auto correction = AmplitudeCal::SourceCorrection(freq);
|
||||
auto correction = Cal::SourceCorrection(freq);
|
||||
if (port2) {
|
||||
cdbm += correction.port2;
|
||||
} else {
|
||||
|
|
@ -336,6 +336,10 @@ void HW::Ref::set(Protocol::ReferenceSettings s) {
|
|||
ref = s;
|
||||
}
|
||||
|
||||
bool HW::Ref::usingExternal() {
|
||||
return extRefInUse;
|
||||
}
|
||||
|
||||
void HW::Ref::update() {
|
||||
if(extOutFreq != ref.ExtRefOuputFreq) {
|
||||
extOutFreq = ref.ExtRefOuputFreq;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue