projects
/
linux-gpio-pinout
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33df7c4
)
added 0v and 5v
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 10 Nov 2017 08:30:44 +0000
(09:30 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 10 Nov 2017 08:30:44 +0000
(09:30 +0100)
gpio.pl
patch
|
blob
|
history
diff --git
a/gpio.pl
b/gpio.pl
index
03018a4
..
659a998
100755
(executable)
--- a/
gpio.pl
+++ b/
gpio.pl
@@
-203,11
+203,11
@@
sub svg_style {
return qq{ style="fill:$bg"};
}
- if ( $name =~ m/(VCC|3V3|3.3V)/i ) {
+ if ( $name =~ m/(VCC|3V3|3.3V
|5v
)/i ) {
my ($fg,$bg) = @{ $cols->{vcc} };
rect $x,$y,$col,$bg;
return qq{ style="fill:$fg"};
- } elsif ( $name =~ m/(G(ND|Round)|VSS)/i ) {
+ } elsif ( $name =~ m/(G(ND|Round)|VSS
|0v
)/i ) {
my ($fg,$bg) = @{ $cols->{gnd} };
rect $x,$y,$col,$bg;
return qq{ style="fill:$fg"};