use hex_tag
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 26 Jul 2010 21:57:08 +0000 (23:57 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 26 Jul 2010 21:57:08 +0000 (23:57 +0200)
lib/RFID/Serial/3M810.pm

index 41e125c..50becab 100644 (file)
@@ -129,7 +129,7 @@ cmd( 'FE  00 05', 'scan for tags', sub {
                die "wrong length $tl for $nr tags: ",dump( $tags ) if $tl =! $nr * 8;
 
                foreach ( 0 .. $nr - 1 ) {
-                       push @tags, tag_hex substr($tags, $_ * 8, 8);
+                       push @tags, hex_tag substr($tags, $_ * 8, 8);
                }
        }