diff options
Diffstat (limited to 'nl_examples/bjt.c')
-rw-r--r-- | nl_examples/bjt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nl_examples/bjt.c b/nl_examples/bjt.c index 0cd983a24dd..04a82fb912b 100644 --- a/nl_examples/bjt.c +++ b/nl_examples/bjt.c @@ -13,12 +13,12 @@ NETLIST_START(bjt) NETDEV_PARAM(clk.FREQ, 1000) // 1000 Hz NETDEV_SOLVER(Solver) NETDEV_PARAM(Solver.FREQ, 48000) - NETDEV_ANALOG_CONST(V5, 5) - NETDEV_ANALOG_CONST(V3, 3.5) + NETDEV_ANALOG_INPUT(V5, 5) + NETDEV_ANALOG_INPUT(V3, 3.5) /* NPN - example */ - NETDEV_QNPN(Q, "BC237B") + NETDEV_QJT_SW(Q, "BC237B") NETDEV_R(RB, 1000) NETDEV_R(RC, 1000) |