projects
/
Biblio-RFID.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
probe usb serial ports
[Biblio-RFID.git]
/
lib
/
RFID
/
Biblio
/
Reader.pm
diff --git
a/lib/RFID/Biblio/Reader.pm
b/lib/RFID/Biblio/Reader.pm
index
6f3ab8b
..
5d186e1
100644
(file)
--- a/
lib/RFID/Biblio/Reader.pm
+++ b/
lib/RFID/Biblio/Reader.pm
@@
-142,7
+142,7
@@
sub _available {
my $module = "RFID::Biblio::Reader::$reader";
eval "use $module";
die $@ if $@;
- if ( my $rfid = $module->new
( device => '/dev/ttyUSB0' )
) {
+ if ( my $rfid = $module->new ) {
push @rfid, $rfid;
warn "# added $module\n";
} else {