libsigrok/hardware/serial-dmm
Alexandru Gagniuc c69049091e libsigrok.h: Don't store subdriver in sr_dev_driver
Not all drivers use subdrivers. The only reason the subdriver field was
introduced was to accomodate the model of serial-dmm.

The sr_dev_driver struct is available to the frontend. Exposing the subdriver
field creates the problem of exposing knowledge of libsigrok's internal driver
layout, even though the drivers are designed to be a flat list to the frontend.

Store the subdriver in the dev_context struct of serial-dmm.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2012-12-13 23:16:34 +01:00
..
Makefile.am Rename tekpower-dmm to serial-dmm. 2012-12-02 14:21:18 +01:00
api.c libsigrok.h: Don't store subdriver in sr_dev_driver 2012-12-13 23:16:34 +01:00
protocol.c serial-dmm: Use a macro for receive_data() wrappers. 2012-12-13 01:34:21 +01:00
protocol.h libsigrok.h: Don't store subdriver in sr_dev_driver 2012-12-13 23:16:34 +01:00