~cypheon/kicad2spice

37b8b494717dab77dbb9526a0a8170677f9fef88 — Johann Rudloff 4 years ago 3130700
Slightly change net naming to be more similiar to what eeschema generates.
1 files changed, 1 insertions(+), 1 deletions(-)

M lib/connectiongraph.ml
M lib/connectiongraph.ml => lib/connectiongraph.ml +1 -1
@@ 73,7 73,7 @@ module Netlist = struct
    | Item.Pin (comp, pin) when comp.part.power -> pin.name
    | Item.Pin (comp, pin) ->
        if pin.name <> "~"
        then comp.ref ^ "_pad_" ^ pin.name
        then "Net_" ^ comp.ref ^ "_pad_" ^ pin.name
        else comp.ref ^ "_" ^ pin.number
    | _ -> failwith "invalid driver"