]> sigrok.org Git - libsigrok.git/commit
metex14: Fix parsing of spaces.
authorAlexandru Gagniuc <redacted>
Fri, 30 Nov 2012 18:29:22 +0000 (12:29 -0600)
committerUwe Hermann <redacted>
Sun, 2 Dec 2012 13:21:18 +0000 (14:21 +0100)
commit76b55dfa8a5318a0495d3f2cfb29d6cd229ce5dc
tree4e9ce6df9f437a324f0abaf3386bdac1821cb714
parent21a7f2692e09269edd872bca4e25a9d06b67c0e5
metex14: Fix parsing of spaces.

When the parser found a space, it treated it as an invalid digit
and discarded the whole packet. This behavior was incorrect on
2000 count devices, where the first digit can be sent as a space
rather than a '0'.

Convert spaces to '0' and parse them as usual.

Signed-off-by: Alexandru Gagniuc <redacted>
hardware/common/dmm/metex14.c