Revert "SWIG experiments: introduce context"

This reverts commit aa8bf8e0f4.
This commit is contained in:
Philippe Teuwen 2020-06-13 23:43:58 +02:00
parent 1562b75fc9
commit 78c4f7929a
11 changed files with 87 additions and 434 deletions

View file

@ -2,8 +2,6 @@
import 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)