Revert "SWIG experiments: introduce context"

This reverts commit aa8bf8e0f4.
This commit is contained in:
Philippe Teuwen
2020-06-14 21:35:23 +02:00
parent 1562b75fc9
commit 78c4f7929a
11 changed files with 87 additions and 434 deletions
+1 -3
View File
@@ -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)