libsigrok/hardware/common/dmm
Alexandru Gagniuc 3ebc9b59a2 metex14: Fix parsing of measurement flags.
strcmp(buf + 9, "  mA") does not work because buf is CR-terminated,
while "  mA" is NUL-terminated.

Drop ambiguities arising from the termination of the strings, and
only compare the characters we care about, using strncmp().

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2012-12-02 14:21:18 +01:00
..
Makefile.am Add Metex 14-byte ASCII protocol parser. 2012-11-17 22:27:54 +01:00
fs9721.c fs9721: Pass 'info' as a void pointer. 2012-12-02 14:21:17 +01:00
fs9922.c Initial support for UNI-T DMMs. 2012-10-27 23:17:30 +02:00
metex14.c metex14: Fix parsing of measurement flags. 2012-12-02 14:21:18 +01:00