projects
/
430.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94fb60c
)
djboxsym: add tristate pin option
author
Dan White
<dan@whiteaudio.com>
Sun, 5 Feb 2012 05:40:45 +0000
(23:40 -0600)
committer
Dan White
<dan@whiteaudio.com>
Sun, 5 Feb 2012 05:41:13 +0000
(23:41 -0600)
sch-pcb/sym/djboxsym
patch
|
blob
|
history
diff --git
a/sch-pcb/sym/djboxsym
b/sch-pcb/sym/djboxsym
index ed00c96d6ba86a4532c00ce529d6082c2a325a71..2f3da398daf671b716a7997b733c1dbe9b67aaf4 100755
(executable)
--- a/
sch-pcb/sym/djboxsym
+++ b/
sch-pcb/sym/djboxsym
@@
-131,7
+131,7
@@
while (<>) {
$pinside{$pin} = $side;
$pintype{$pin} = "pas";
next if $side eq "nc";
- if ($rest =~ /^([!>iop]+) (.*)/) {
+ if ($rest =~ /^([!>iop
t
]+) (.*)/) {
$flags = $1;
$pinlabel{$pin} = $2;
$bubble{$pin} = 1 if $flags =~ /!/;
@@
-140,6
+140,7
@@
while (<>) {
$pintype{$pin} = "out" if $flags =~ /o/;
$pintype{$pin} = "pwr" if $flags =~ /p/;
$pintype{$pin} = "io" if $flags =~ /io/;
+ $pintype{$pin} = "tri" if $flags =~ /t/;
} else {
$pinlabel{$pin} = $rest;
}