]> sigrok.org Git - libsigrok.git/commit
drivers: Fix behaviour when trying to set an invalid capture ratio.
authorTilman Sauerbeck <redacted>
Thu, 15 Oct 2015 20:38:12 +0000 (22:38 +0200)
committerUwe Hermann <redacted>
Sat, 24 Oct 2015 19:10:29 +0000 (21:10 +0200)
commita5c38703eeea8661e563c30631601b8334dd2b7c
tree7d4941c3301a9af2b8fd2c01aca777a1a0e9834d
parent087c4d59c09ee159700d3f5a01dfe2f77cbf0a8c
drivers: Fix behaviour when trying to set an invalid capture ratio.

Trying to configure an invalid capture ratio would reset the
previously configured value. Instead, we should just reject the
new value and keep the original one.
src/hardware/beaglelogic/api.c
src/hardware/fx2lafw/api.c
src/hardware/openbench-logic-sniffer/api.c
src/hardware/pipistrello-ols/api.c
src/hardware/saleae-logic16/api.c