projects
/
svn42.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
delay between rf433ctl commands that works
[svn42.git]
/
mifare-read
/
mifare-read.c
diff --git
a/mifare-read/mifare-read.c
b/mifare-read/mifare-read.c
index
80cb57e
..
0acf1bb
100644
(file)
--- a/
mifare-read/mifare-read.c
+++ b/
mifare-read/mifare-read.c
@@
-54,6
+54,7
@@
int l2_init(int layer2)
rc = rfid_layer2_open(l2h);
if (rc < 0) {
// fprintf(stderr, "error during layer2_open\n");
rc = rfid_layer2_open(l2h);
if (rc < 0) {
// fprintf(stderr, "error during layer2_open\n");
+ rfid_layer2_fini(l2h);
return rc;
}
return rc;
}