diode cbv only needed for tracing - prevent compiler warning
This commit is contained in:
parent
2b2e40793e
commit
4e86cfa352
|
|
@ -197,8 +197,8 @@ void DIOtempUpdate(DIOmodel *inModel, DIOinstance *here, double Temp, CKTcircuit
|
||||||
cbv = here->DIOm * model->DIObreakdownCurrent * here->DIOarea;
|
cbv = here->DIOm * model->DIObreakdownCurrent * here->DIOarea;
|
||||||
}
|
}
|
||||||
if (cbv < here->DIOtSatCur * tBreakdownVoltage/vt) {
|
if (cbv < here->DIOtSatCur * tBreakdownVoltage/vt) {
|
||||||
cbv=here->DIOtSatCur * tBreakdownVoltage/vt;
|
|
||||||
#ifdef TRACE
|
#ifdef TRACE
|
||||||
|
cbv=here->DIOtSatCur * tBreakdownVoltage/vt;
|
||||||
SPfrontEnd->IFerrorf (ERR_WARNING, "%s: breakdown current increased to %g to resolve", here->DIOname, cbv);
|
SPfrontEnd->IFerrorf (ERR_WARNING, "%s: breakdown current increased to %g to resolve", here->DIOname, cbv);
|
||||||
SPfrontEnd->IFerrorf (ERR_WARNING,
|
SPfrontEnd->IFerrorf (ERR_WARNING,
|
||||||
"incompatibility with specified saturation current");
|
"incompatibility with specified saturation current");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue