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:
b8f747b
)
move uart rx/tx into kernel port description
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 9 Nov 2017 11:35:30 +0000
(12:35 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 9 Nov 2017 11:35:30 +0000
(12:35 +0100)
gpio.pl
patch
|
blob
|
history
diff --git
a/gpio.pl
b/gpio.pl
index
e2f383e
..
c432c43
100755
(executable)
--- a/
gpio.pl
+++ b/
gpio.pl
@@
-97,6
+97,7
@@
foreach my $line (@lines) {
push @line_parts, [ $line ] unless $opt_svg;
next;
}
+ $line =~ s/(\[uart\d)(\]\s[^\t]*(rx|tx))/$1 $3$2/gi;
$line =~ s/\s*\([^\)]+\)//g if ! $opt_alt;
my @v = split(/\s*\t+\s*/,$line,4);