mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 02:27:26 -07:00
Revert "SWIG experiments: introduce context"
This reverts commit aa8bf8e0f4
.
This commit is contained in:
parent
1562b75fc9
commit
78c4f7929a
11 changed files with 87 additions and 434 deletions
|
@ -1,5 +1,12 @@
|
|||
import sys
|
||||
import pm3
|
||||
|
||||
ctx=pm3.get_current_context()
|
||||
p=pm3.get_dev(ctx, 0)
|
||||
pm3.console(p, "hw status")
|
||||
def main():
|
||||
print('Hello world')
|
||||
#p=pm3.open("/dev/ttyACM0")
|
||||
p=pm3.get_current_dev()
|
||||
pm3.console(p, "hw status")
|
||||
#pm3.close(p)
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue