Revert "SWIG experiments: introduce context"
This reverts commit aa8bf8e0f4.
This commit is contained in:
1 parent
1562b75fc9
commit
78c4f7929a
11 files changed
+87
-434
No files matched your search
@@ -1,6 +1,4 @@
|
||||
local pm3 = require("pm3")
|
||||
ctx=pm3.init()
|
||||
p=pm3.open(ctx, "/dev/ttyACM0")
|
||||
p=pm3.open("/dev/ttyACM0")
|
||||
pm3.console(p, "hw status")
|
||||
pm3.close(p)
|
||||
pm3.exit(ctx)
|
||||
Reference in new issue
Block a user