projects
/
librfid
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ef5f52
)
poewr down RC632 before powering it up to ensure all PICC's are reset in open()
author
Harald Welte
<laforge@gnumonks.org>
Mon, 13 Jun 2005 09:16:39 +0000
(09:16 +0000)
committer
Harald Welte
<laforge@gnumonks.org>
Mon, 13 Jun 2005 09:16:39 +0000
(09:16 +0000)
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1206
e0336214
-984f-0b4b-a45f-
81c69e1f0ede
rfid_asic_rc632.c
patch
|
blob
|
history
diff --git
a/rfid_asic_rc632.c
b/rfid_asic_rc632.c
index
fac968b
..
234e7ab
100644
(file)
--- a/
rfid_asic_rc632.c
+++ b/
rfid_asic_rc632.c
@@
-352,6
+352,13
@@
rc632_init(struct rfid_asic_handle *ah)
{
int ret;
+ /* switch off rf (make sure PICCs are reset at init time) */
+ ret = rc632_power_down(ah);
+ if (ret < 0)
+ return ret;
+
+ usleep(10000);
+
/* switch on rf */
ret = rc632_power_up(ah);
if (ret < 0)