Fix impedance for mixed mode traces

This commit is contained in:
Jan Käberich 2023-03-01 10:34:54 +01:00
parent 99c6d77ad8
commit 4caec3989e
3 changed files with 25 additions and 17 deletions

View file

@ -576,6 +576,11 @@ bool Trace::addMathSource(unsigned int hash, QString variableName)
return false;
}
void Trace::setReferenceImpedance(double value)
{
reference_impedance = value;
}
bool Trace::mathDependsOn(Trace *t, bool onlyDirectDependency)
{
if(mathSourceTraces.count(t)) {