]> sigrok.org Git - libsigrok.git/commit
gmc-mh-1x-2x: Use software limits helpers
authorLars-Peter Clausen <redacted>
Wed, 4 May 2016 12:19:26 +0000 (14:19 +0200)
committerUwe Hermann <redacted>
Tue, 31 May 2016 13:54:52 +0000 (15:54 +0200)
commit3c41387928e785145af0cab28014b863e0621dc8
treef98c9e064456aa4ddd692e6dad3d3b19de1d1929
parent6aacf011de1f1df3871d99a51fdf3158d736b6b2
gmc-mh-1x-2x: Use software limits helpers

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

This also fixes the issue that driver the does not reset all the limit
statistics in acquisition_start().

Signed-off-by: Lars-Peter Clausen <redacted>
src/hardware/gmc-mh-1x-2x/api.c
src/hardware/gmc-mh-1x-2x/protocol.c
src/hardware/gmc-mh-1x-2x/protocol.h