libsigrok/hardware
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
..
agilent-dmm agilent-dmm: don't log anything if no conn params given 2012-09-17 00:00:27 +02:00
alsa sr: moved sigrok.h so libsigrok/libsigrok.h 2012-07-05 01:17:28 +02:00
asix-sigma sr: make struct drv_context global 2012-09-11 21:27:26 +02:00
chronovu-la8 sr: make struct drv_context global 2012-09-11 21:27:26 +02:00
common serial: (Trivial) add support for 4800 baud 2012-10-15 17:32:58 +02:00
demo sr: make struct drv_context global 2012-09-11 21:27:26 +02:00
fluke-dmm sr: struct drv_context is global now. 2012-09-27 23:29:33 +02:00
fx2lafw sr: make struct drv_context global 2012-09-11 21:27:26 +02:00
genericdmm sr: make struct drv_context global 2012-09-11 21:27:26 +02:00
hantek-dso sr: make struct drv_context global 2012-09-11 21:27:26 +02:00
link-mso19 sr: add new driver API call: scan() 2012-08-03 10:27:36 +02:00
openbench-logic-sniffer sr: make struct drv_context global 2012-09-11 21:27:26 +02:00
radioshack-dmm radioshack-dmm: (Trivial) Convenience fixes 2012-10-16 11:16:41 +02:00
zeroplus-logic-cube sr: make struct drv_context global 2012-09-11 21:27:26 +02:00
Makefile.am radioshack-dmm: Add support for Radioshack 22-812 DMM 2012-10-15 17:32:58 +02:00