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:
57b7c11
)
correctly annotate pins without description
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 5 Nov 2017 15:15:06 +0000
(16:15 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 5 Nov 2017 15:15:06 +0000
(16:15 +0100)
gpio.pl
patch
|
blob
|
history
diff --git
a/gpio.pl
b/gpio.pl
index
96b2e9d
..
5fdc5fe
100755
(executable)
--- a/
gpio.pl
+++ b/
gpio.pl
@@
-28,7
+28,7
@@
while(<DATA>) {
$include = 0;
} elsif ( $include ) {
push @lines, $_;
- push @{ $pins->{$1} }, $line_i while ( m/\t(P\w\
w+)\s
/g );
+ push @{ $pins->{$1} }, $line_i while ( m/\t(P\w\
d+)
/g );
$line_i++;
} else {
warn "IGNORE: [$_]\n";