radioshack-dmm: Fix opening of serial port.
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Sun, 2 Dec 2012 18:43:37 +0000 (12:43 -0600)
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>
Sun, 2 Dec 2012 18:43:37 +0000 (12:43 -0600)
commitfbf0dd4c3f9e29470a3fc34d8b5787886d1b8f60
tree98249e8e71bc84d3420bd902514a8065a44c5cf7
parentd5ce233fe16a68e6522538c226a91e63628521dd
radioshack-dmm: Fix opening of serial port.

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 <mr.nuke.me@gmail.com>
hardware/radioshack-dmm/api.c