X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ir-probe%2Fdecode-onkyo;h=518f96704be60841fcb2ad31129918363ca0e0a5;hb=3038b627489dae62ce54d415a4bcfc4cfd28f084;hp=6d41f47db7d5421c4a45e0652ed7dcfc8c35fce6;hpb=9a2ab65dd7911d0a4a34561a56963944e8d54703;p=home-hw.git diff --git a/ir-probe/decode-onkyo b/ir-probe/decode-onkyo index 6d41f47..518f967 100755 --- a/ir-probe/decode-onkyo +++ b/ir-probe/decode-onkyo @@ -13,7 +13,7 @@ while (<>) { for my $t (@timings) { my $out = "<$bit:$t>"; if ($bit) { - if ($t >= 8900 && $t <= 9100) { + if ($t >= 8900 && $t <= 9200) { $out = "^"; } elsif ($t >= 100 && $t <= 700) { $out = "*"; @@ -23,7 +23,7 @@ while (<>) { $out = "#"; } elsif ($t >= 400 && $t <= 1000) { $out = "A"; - } elsif ($t >= 1600 && $t <= 2200) { + } elsif ($t >= 1500 && $t <= 2200) { $out = "B"; } }