Permalink
Browse files

fix repeated selects on libnfc devices

  • Loading branch information...
1 parent 052522b commit 1e7f67335fed37f7f6de582abd5ec380cda914ba @AdamLaurie committed Oct 25, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 rfidiot/pynfc.py
View
2 rfidiot/pynfc.py
@@ -386,6 +386,8 @@ def selectISO14443A(self):
#else:
# if RFIDIOtconfig.debug:
# self.log.debug("Card found")
+ self.powerOff()
+ self.powerOn()
nm= NFC_MODULATION()
target= (NFC_TARGET * MAX_TARGET_COUNT) ()
nm.nmt = NMT_ISO14443A

0 comments on commit 1e7f673

Please sign in to comment.