Skip to content

Commit

Permalink
Fixed NFC Emulate
Browse files Browse the repository at this point in the history
Fixed a mistype that caused emulate() to run "detect" serial function instead
  • Loading branch information
4n4nk3 authored Aug 9, 2022
1 parent 78ea493 commit 1d7c601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nfc.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def _run():

def emulate(self, timeout: int = 5) -> None:
def _run() -> str:
data = self._serial_wrapper.send("nfc detect")
data = self._serial_wrapper.send("nfc emulate")
#TODO parse data
return data
self.exec(func=None, timeout=timeout)
Expand Down

0 comments on commit 1d7c601

Please sign in to comment.