mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-26 00:55:19 +08:00
theremin.py: quit when pm3 button is pressed
This commit is contained in:
parent
b55c186b3a
commit
2a29a1431d
1 changed files with 2 additions and 0 deletions
|
@ -53,6 +53,8 @@ while True:
|
|||
if(select([pm3_proc.stdout], [], [], 0)[0]):
|
||||
|
||||
b = pm3_proc.stdout.read(256).decode("ascii")
|
||||
if "Done" in b:
|
||||
break;
|
||||
for c in b:
|
||||
if c in "0123456789 mV":
|
||||
mv_recbuf += c
|
||||
|
|
Loading…
Reference in a new issue