Commit 90c130b6 authored by jean-pierre charras's avatar jean-pierre charras

Eeschema: intermediate netlist : fix duplicate pins in list of nets, with multi parts per package.

parent 0cb6cd8c
This diff is collapsed.
...@@ -126,10 +126,10 @@ ...@@ -126,10 +126,10 @@
<pin num="1" type="passive"/> <pin num="1" type="passive"/>
<pin num="2" type="passive"/> <pin num="2" type="passive"/>
</pins> </pins>
Output pin list is ( pin num = net name ) Output pin list is ( <pin num> <net name> )
something like something like
( 1 = VCC ) ( 1 VCC )
( 2 = GND ) ( 2 GND )
--> -->
<xsl:template name="build_pin_list" match="pin"> <xsl:template name="build_pin_list" match="pin">
<xsl:param name="cmp_ref" select="0" /> <xsl:param name="cmp_ref" select="0" />
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
<!-- write pin numner and separator --> <!-- write pin numner and separator -->
<xsl:text> ( </xsl:text> <xsl:text> ( </xsl:text>
<xsl:value-of select="@num"/> <xsl:value-of select="@num"/>
<xsl:text> = </xsl:text> <xsl:text> </xsl:text>
<!-- search net name in nets section and write it: --> <!-- search net name in nets section and write it: -->
<xsl:variable name="pinNum" select="@num" /> <xsl:variable name="pinNum" select="@num" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment