projects
/
Biblio-RFID.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f44fa62
)
RFID_READERS=librfid or more than one space delimited
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 14 Oct 2023 08:00:17 +0000
(10:00 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 14 Oct 2023 08:00:17 +0000
(10:00 +0200)
lib/Biblio/RFID/Reader.pm
patch
|
blob
|
history
diff --git
a/lib/Biblio/RFID/Reader.pm
b/lib/Biblio/RFID/Reader.pm
index
e3f9d6e
..
b3b6fd7
100644
(file)
--- a/
lib/Biblio/RFID/Reader.pm
+++ b/
lib/Biblio/RFID/Reader.pm
@@
-187,6
+187,8
@@
Probe each RFID reader supported and returns succefull ones
#my @readers = ( '3M810', 'CPRM02', 'librfid' );
my @readers = ( '3M810', 'librfid' );
+@readers = split(/\s+/,$ENV{RFID_READERS}) if $ENV{RFID_READERS};
+warn "# using readers ", dump( \@readers );
sub _available {
my ( $self, $filter ) = @_;