sometimes, reader return 00 00 00 instead of data
authorDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 27 Jul 2010 11:51:21 +0000 (13:51 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 27 Jul 2010 11:51:21 +0000 (13:51 +0200)
This is not fatal, so we won't die here

lib/RFID/Serial/3M810.pm

index c7144fa..2c27e4d 100644 (file)
@@ -181,7 +181,7 @@ sub read_blocks {
                        } elsif ( my $rest = _matched $data => '02 06' ) {
                                warn "ERROR ",as_hex($rest);
                        } else {
-                               die "FIXME unsuported ",as_hex($rest);
+                               warn "FIXME unsuported ",as_hex($rest);
                        }
        });