]> sigrok.org Git - libsigrok.git/commit
serial-dmm: Simplify code a bit.
authorUwe Hermann <redacted>
Tue, 11 Dec 2012 16:06:04 +0000 (17:06 +0100)
committerUwe Hermann <redacted>
Thu, 13 Dec 2012 00:30:43 +0000 (01:30 +0100)
commit06b7a8af7e2e4b7baf28f4fa710a7dd00765f18a
tree46ab180877c572c84a5f20a70905195e72d3ba05
parent5b389efcfeff17b0f7466597706c898ad65eb6a9
serial-dmm: Simplify code a bit.

Store/use the receive_data() function and a pointer to the driver struct
in the dmms[] array. Use a ".subdriver" entry in the driver struct.
Use a macro to simplify hw_init() wrappers.
hardware/serial-dmm/api.c
hardware/serial-dmm/protocol.h
libsigrok.h