mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-04 22:17:31 +00:00
Merge branch 'SCPI_improvement' into HIL_actions
This commit is contained in:
commit
c5d045364c
21 changed files with 813 additions and 110 deletions
|
|
@ -546,6 +546,9 @@ bool LibreVNADriver::setExtRef(QString option_in, QString option_out)
|
|||
case Reference::TypeIn::None:
|
||||
p.reference.UseExternalRef = 0;
|
||||
p.reference.AutomaticSwitch = 0;
|
||||
if(hardwareVersion == 0x01) {
|
||||
lastStatus.V1.extRefInUse = 0;
|
||||
}
|
||||
break;
|
||||
case Reference::TypeIn::Auto:
|
||||
p.reference.UseExternalRef = 0;
|
||||
|
|
@ -554,6 +557,9 @@ bool LibreVNADriver::setExtRef(QString option_in, QString option_out)
|
|||
case Reference::TypeIn::External:
|
||||
p.reference.UseExternalRef = 1;
|
||||
p.reference.AutomaticSwitch = 0;
|
||||
if(hardwareVersion == 0x01) {
|
||||
lastStatus.V1.extRefInUse = 1;
|
||||
}
|
||||
break;
|
||||
}
|
||||
switch(refOut) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue