diff options
author | couriersud <couriersud@gmx.org> | 2020-01-26 21:23:20 +0100 |
---|---|---|
committer | couriersud <couriersud@gmx.org> | 2020-01-26 21:23:20 +0100 |
commit | d980e7d6aba6e619b14e9f00c350d4beeed2a675 (patch) | |
tree | 27cf93a0a0d914904f720fab2ebb50344c0a8e5f | |
parent | 636894b02f9e920cc122b150a5356188da60edd7 (diff) |
netlist: Fix issue in inactive code-path. (nw)
-rw-r--r-- | src/lib/netlist/macro/nlm_opamp.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/netlist/macro/nlm_opamp.cpp b/src/lib/netlist/macro/nlm_opamp.cpp index 5132333f09d..e06be8a5e00 100644 --- a/src/lib/netlist/macro/nlm_opamp.cpp +++ b/src/lib/netlist/macro/nlm_opamp.cpp @@ -225,9 +225,10 @@ static NETLIST_START(LM3900) ALIAS(MINUS, R2.1) // Negative input ALIAS(OUT, G1.OP) // Opamp output ... ALIAS(GND, G1.ON) // V- terminal - ALIAS(VCC, DUMMY.I) // V+ terminal + ALIAS(VCC, DUMMY.1) // V+ terminal - DUMMY_INPUT(DUMMY) + RES(DUMMY, RES_K(1)) + NET_C(DUMMY.2, GND) /* The opamp model */ |