diff ueda/sverp-bind/readunet.c @ 37:ce887659d12e

unet-bind: implemented hier=flip:... hack for 2-pin components
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sun, 16 Aug 2015 01:51:12 +0000
parents dcdf606dfaaa
children
line wrap: on
line diff
--- a/ueda/sverp-bind/readunet.c	Sun Aug 09 06:38:32 2015 +0000
+++ b/ueda/sverp-bind/readunet.c	Sun Aug 16 01:51:12 2015 +0000
@@ -116,6 +116,8 @@
 	register int pinidx;
 
 	pinidx = resolve_pinnum(oc, pinnumstr);
+	if (oc->reverse_2pin)
+		pinidx = !pinidx;
 	if (oc->conn_array[pinidx]) {
 		fprintf(stderr,
 	"error: multiple connections to %s pin %s (input lines %d and %d)\n",