]> sigrok.org Git - libsigrok.git/commit
hantek-dso: config_set(): Shorten SR_CONF_CAPTURE_RATIO case.
authorUwe Hermann <redacted>
Wed, 10 Jan 2018 21:16:37 +0000 (22:16 +0100)
committerUwe Hermann <redacted>
Thu, 11 Jan 2018 01:21:50 +0000 (02:21 +0100)
commit04069272b4ded92dd198d39d6f268a6695b24a3f
treec1678e2b04656ffd381660c8f48060ec5fd329b6
parentbe702d16d0e37602a312b00d06f6c4e2c3a7e55a
hantek-dso: config_set(): Shorten SR_CONF_CAPTURE_RATIO case.

The sr_config_set() wrapper already checks for SR_CONF_CAPTURE_RATIO
being 0..100.
src/hardware/hantek-dso/api.c