mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-06 23:13:43 +00:00
Prepare GUI for power sweep
This commit is contained in:
parent
fc5947c9a8
commit
6490d6fd14
11 changed files with 159 additions and 74 deletions
|
|
@ -337,9 +337,14 @@ bool TraceSmithChart::supported(Trace *t)
|
|||
|
||||
bool TraceSmithChart::dropSupported(Trace *t)
|
||||
{
|
||||
if(t->outputType() == Trace::DataType::Frequency && t->isReflection()) {
|
||||
if(!t->isReflection()) {
|
||||
return false;
|
||||
}
|
||||
switch(t->outputType()) {
|
||||
case Trace::DataType::Frequency:
|
||||
case Trace::DataType::Power:
|
||||
return true;
|
||||
} else {
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue