libsigrok/hardware/radioshack-dmm
Alexandru Gagniuc be8dbf3ab2 radioshack-dmm: (Trivial) Convenience fixes
While testing the new radioshack-dmm driver with pulseview, I found
a few inconvenients.

1. Print an info message when a port is probed, and when a device is
found. This makes it easy to tell if and where the driver is looking.

2. num_samples was not reset after the first aquisition, so the
second aquisition would quit right away. Reset num_samples at start
of a new aquisition.

3. There's no need to  open the serial port RW, so change O_RDWR to
O_RDONLY when opening the port.

These changes are too trivial to split into different patches.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2012-10-16 11:16:41 +02:00
..
Makefile.am radioshack-dmm: Add support for Radioshack 22-812 DMM 2012-10-15 17:32:58 +02:00
api.c radioshack-dmm: (Trivial) Convenience fixes 2012-10-16 11:16:41 +02:00
radioshack-dmm.h radioshack-dmm: Add support for Radioshack 22-812 DMM 2012-10-15 17:32:58 +02:00
radioshack.c radioshack-dmm: build fixes 2012-10-15 18:25:48 +02:00