Uwe Hermann
936e27f197
radioshack-dmm: Use new file naming conventions.
2012-11-10 19:42:37 +01:00
Uwe Hermann
4e172b8f8d
radioshack-dmm: Move some stuff out of .h file.
...
Most of the enums and #defines are not needed in multiple files, just
put them in the respective .c file where they're used.
2012-11-10 19:42:37 +01:00
Uwe Hermann
ba6383f855
radioshack-dmm: Cosmetics, coding-style, cleanups.
...
Also, drop some uneeded code and simplify some parts.
2012-11-10 19:41:21 +01:00
Bert Vermeulen
642e9d623c
more deconstifying sr_dev_inst for dev_acquisition_stop()
2012-11-06 19:32:53 +01:00
Uwe Hermann
886a52b6fb
Return SR_ERR_MALLOC upon allocation errors.
...
Add some TODOs.
2012-10-30 20:25:54 +01:00
Uwe Hermann
dccbd0ede0
radioshack-dmm: Use message logging helpers.
2012-10-30 19:43:45 +01:00
Uwe Hermann
545f978639
config.h usage cleanups.
...
- Drop config.h #include from files that don't actually use any of
its contents (at the moment).
- Add comment for those that do need it.
2012-10-24 00:41:21 +02:00
Alexandru Gagniuc
7c41dc4774
radioshack-dmm: Implement support for "LOGIC" mode
...
LOGIC mode sends the following data:
V < 0 : actual voltage
0 <= V < 1 : LOW
1 <= V < 2 : actual voltage
2 <= V : HIGH
We follow the same idea, and set our unit to BOOLEAN for the crazy
case (HIGH or LOW).
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2012-10-20 23:03:51 +02:00
Bert Vermeulen
7b0a85c81c
radioshack-dmm: build fixes
2012-10-15 18:25:48 +02:00
Alexandru Gagniuc
d375b3c3ec
radioshack-dmm: Add support for Radioshack 22-812 DMM
...
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2012-10-15 17:32:58 +02:00