]> sigrok.org Git - libsigrok.git/commit
fluke-dmm: Use software limits helpers
authorLars-Peter Clausen <redacted>
Wed, 4 May 2016 12:19:04 +0000 (14:19 +0200)
committerUwe Hermann <redacted>
Tue, 31 May 2016 13:54:52 +0000 (15:54 +0200)
commit6aacf011de1f1df3871d99a51fdf3158d736b6b2
tree53aa4df64d76aa99fd143e16d4cce9817a6e3801
parent014c7f93d425500702e5bdec272e60b367804097
fluke-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/fluke-dmm/api.c
src/hardware/fluke-dmm/fluke-dmm.h
src/hardware/fluke-dmm/fluke.c