]> sigrok.org Git - libsigrok.git/commit
Fix limit_samples check in various drivers.
authorUwe Hermann <redacted>
Wed, 26 Dec 2012 00:29:27 +0000 (01:29 +0100)
committerUwe Hermann <redacted>
Wed, 26 Dec 2012 01:11:00 +0000 (02:11 +0100)
commit35e199da505f5b8fadffa58875aaca70a8fde4f2
tree47419f60e7da8941ab0ce1235e47bed8905db2a2
parent786934010365a0b33aa8a32a7dc62a2975dba4c7
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.
hardware/agilent-dmm/sched.c
hardware/alsa/protocol.c
hardware/demo/demo.c
hardware/serial-dmm/protocol.c
hardware/tondaj-sl-814/protocol.c
hardware/uni-t-dmm/protocol.c