]> sigrok.org Git - sigrok-util.git/commit
new-driver: refactoring
authorDavid Douard <redacted>
Mon, 30 May 2016 20:00:46 +0000 (22:00 +0200)
committerUwe Hermann <redacted>
Thu, 9 Jun 2016 10:19:22 +0000 (12:19 +0200)
commitbc02c2bf465c0ad26410596f0b8ac0a9be57ea0c
treead05d5fecd586d918783118724e6f76356ed8560
parente3f27bc0a0ee12c645171af295310540a3ef9f2c
new-driver: refactoring

- use argparse and add several cmdline options
- prevent global vars
- allow to be run from other directory than sigrok-util/source
- use plain python .format() for templating
source/drv-api.c
source/drv-protocol.c
source/drv-protocol.h
source/new-driver