Bert Vermeulen
80bc663296
tondaj-sl-814: remove unneeded debugging
2012-12-29 11:19:19 +01:00
Uwe Hermann
35e199da50
Fix limit_samples check in various drivers.
...
Check whether a sample limit was actually set (> 0) before checking if
that sample limit is reached. This also fixes continuous acquisition mode
for drivers which have that.
2012-12-26 02:11:00 +01:00
Alexandru Gagniuc
f428493435
tondaj-sl-814: Fix unused parameter warning
...
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2012-12-03 19:39:58 -06:00
Peter Stuge
1ebe4b4e69
hw_init(): Save struct sr_context * parameter in struct drv_context
2012-12-03 12:07:40 +01:00
Peter Stuge
34f06b903e
Add a struct sr_context * parameter to hw_init()
2012-12-03 12:07:40 +01:00
Uwe Hermann
a54dd31e38
serial: Use OS-independent flags for serial port opening.
...
Add SERIAL_RDWR, SERIAL_RDONLY, and SERIAL_NONBLOCK (for now), which are
mapped to the respective OS-specific mechanism in serial_open().
2012-12-02 12:45:54 +01:00
Bert Vermeulen
19ee7dff78
tondaj-sl-814: use new serial API
2012-11-12 03:00:32 +01:00
Uwe Hermann
c073af80f8
Add initial Tondaj SL-814 protocol handling.
2012-11-10 01:45:51 +01:00
Uwe Hermann
aa2af32432
tondaj-sl-814: Initial driver skeleton.
2012-11-10 01:01:28 +01:00