From 7e0f1c9619e6cecd54147a5403a239e90f26e3cb Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Sun, 5 Nov 2017 16:15:06 +0100 Subject: [PATCH] correctly annotate pins without description --- gpio.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpio.pl b/gpio.pl index 96b2e9d..5fdc5fe 100755 --- a/gpio.pl +++ b/gpio.pl @@ -28,7 +28,7 @@ while() { $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"; -- 2.20.1