libsigrok/hardware/serial-dmm
Alexandru Gagniuc e7ed87a469 serial-dmm: Use dummy info struct for rs9lcd parser
The rs9lcd parser, which is used for the RadioShack 22-812 does not use its
*info parameter, and therefore did not have a rs9lcd_info struct declared.

With recent re-factoring of the receive data callbacks, it became necessary to
pass a struct pointer. This made the RECV_DATA macro look like:

- RECV_DATA(RADIOSHACK_22_812, metex14)

giving the wrong impression that the RadioShack 22-182 uses the
metex14 protocol, which is not the case.

Create a dummy rs9lcd_info struct, and correctly identify the parser
as rs9lcd in the RECV_DATA macro:

+ RECV_DATA(RADIOSHACK_22_812, rs9lcd)

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 dummy info struct for rs9lcd parser 2012-12-13 23:16:34 +01:00
protocol.h libsigrok.h: Don't store subdriver in sr_dev_driver 2012-12-13 23:16:34 +01:00