diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-12 06:16:17 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-12 06:16:17 -0300 |
commit | 1f67505822974b7eb72ea3bfdad7de8d992118a6 (patch) | |
tree | d5eb76b7e9e17b936e57fe0bfb068f30acc8df82 /v4l2-apps/util | |
parent | f48aec454ec2a3889054b86709797534b4daac7a (diff) | |
download | mediapointer-dvb-s2-1f67505822974b7eb72ea3bfdad7de8d992118a6.tar.gz mediapointer-dvb-s2-1f67505822974b7eb72ea3bfdad7de8d992118a6.tar.bz2 |
gen_keytables.pl is too verbose.
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Make gen_keytables.pl less verbose
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
---
v4l2-apps/util/gen_keytables.pl | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Diffstat (limited to 'v4l2-apps/util')
-rwxr-xr-x | v4l2-apps/util/gen_keytables.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/v4l2-apps/util/gen_keytables.pl b/v4l2-apps/util/gen_keytables.pl index f183ab4d1..889516de4 100755 --- a/v4l2-apps/util/gen_keytables.pl +++ b/v4l2-apps/util/gen_keytables.pl @@ -2,13 +2,15 @@ use strict; my $keyname=""; +my $debug=0; + while (<>) { #IR_KEYTAB_TYPE ir_codes_proteus_2309[IR_KEYTAB_SIZE] = { if (m/IR_KEYTAB_TYPE\s+(\w[\w\d_]+)/) { $keyname = $1; $keyname =~ s/^ir_codes_//; - print "Generating keycodes/$keyname\n"; + print "Generating keycodes/$keyname\n" if $debug; open OUT, ">keycodes/$keyname"; next; } |