]> sigrok.org Git - libsigrok.git/commitdiff
radioshack-dmm: Fix opening of serial port.
authorAlexandru Gagniuc <redacted>
Sun, 2 Dec 2012 18:43:37 +0000 (12:43 -0600)
committerUwe Hermann <redacted>
Sun, 2 Dec 2012 20:48:17 +0000 (21:48 +0100)
During scan the serial port is opened with SERIAL_RDONLY | SERIAL_NONBLOCK,
which works fine, but when acquisition starts, it is opened only with
SERIAL_RDONLY. On Linux, if cdc_acm can make a claim to the USB to serial
converter, opening the port will fail.

Open port with SERIAL_RDONLY | SERIAL_NONBLOCK.

Signed-off-by: Alexandru Gagniuc <redacted>

No differences found