]> sigrok.org Git - libsigrok.git/commit - src/hardware/agilent-dmm/api.c
agilent-dmm: Use software limits helpers
authorLars-Peter Clausen <redacted>
Wed, 4 May 2016 12:18:51 +0000 (14:18 +0200)
committerUwe Hermann <redacted>
Tue, 31 May 2016 13:54:46 +0000 (15:54 +0200)
commit5b6829eafeb86c0b92b0b0112982edc24422bbbe
treec734194ed870bd082d2a2c604a8880fcc88594ff
parentd8f9609790151cd350501ccacb378b9c888e3f9d
agilent-dmm: Use software limits helpers

Use the new software limit helper functions rather than open-coding their
functionality.

This also fixes the issue that the driver does not reset the limit
statistics in acquisition_start(). It also makes the time limit work, which
previously was only a stub implementation.

Signed-off-by: Lars-Peter Clausen <redacted>
src/hardware/agilent-dmm/agilent-dmm.h
src/hardware/agilent-dmm/api.c
src/hardware/agilent-dmm/sched.c