mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 13:23:51 -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,11 +1,8 @@
|
|||
#include "pm3.h"
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
pm3_context *ctx;
|
||||
ctx = pm3_init();
|
||||
pm3_device *p;
|
||||
p = pm3_open(ctx, "/dev/ttyACM0");
|
||||
p = pm3_open("/dev/ttyACM0");
|
||||
pm3_console(p, "hw status");
|
||||
pm3_close(p);
|
||||
pm3_exit(ctx);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue