]> sigrok.org Git - libsigrok.git/commit
Add sr_dev_acquisition_stop(), factor out SR_ERR_DEV_CLOSED check.
authorUwe Hermann <redacted>
Wed, 5 Jul 2017 17:33:38 +0000 (19:33 +0200)
committerUwe Hermann <redacted>
Fri, 7 Jul 2017 19:51:10 +0000 (21:51 +0200)
commitd2f7c417fdd96a13d8fd86350d2fc13db16f626c
treef2dec1abd767fca65f32424b4ef3eedb1fe9f474
parent6ad2fbaad2722f0aa18c3600cdbdddf812784b2d
Add sr_dev_acquisition_stop(), factor out SR_ERR_DEV_CLOSED check.

This ensures consistent checks and log messages across all drivers
and reduces the per-driver boilerplate.
78 files changed:
src/hardware/agilent-dmm/protocol.c
src/hardware/appa-55ii/protocol.c
src/hardware/arachnid-labs-re-load-pro/protocol.c
src/hardware/asix-sigma/protocol.c
src/hardware/atten-pps3xxx/api.c
src/hardware/baylibre-acme/api.c
src/hardware/baylibre-acme/protocol.c
src/hardware/beaglelogic/api.c
src/hardware/brymen-bm86x/api.c
src/hardware/brymen-bm86x/protocol.c
src/hardware/brymen-dmm/protocol.c
src/hardware/cem-dt-885x/protocol.c
src/hardware/center-3xx/protocol.c
src/hardware/chronovu-la/api.c
src/hardware/colead-slm/protocol.c
src/hardware/conrad-digi-35-cpu/api.c
src/hardware/demo/api.c
src/hardware/demo/protocol.c
src/hardware/fluke-dmm/protocol.c
src/hardware/ftdi-la/api.c
src/hardware/ftdi-la/protocol.c
src/hardware/gmc-mh-1x-2x/protocol.c
src/hardware/gwinstek-gds-800/api.c
src/hardware/gwinstek-gds-800/protocol.c
src/hardware/hameg-hmo/api.c
src/hardware/hameg-hmo/protocol.c
src/hardware/hantek-6xxx/api.c
src/hardware/hantek-dso/api.c
src/hardware/hp-3457a/protocol.c
src/hardware/hung-chang-dso-2100/api.c
src/hardware/hung-chang-dso-2100/protocol.c
src/hardware/hung-chang-dso-2100/protocol.h
src/hardware/ikalogic-scanalogic2/api.c
src/hardware/ikalogic-scanaplus/api.c
src/hardware/ikalogic-scanaplus/protocol.c
src/hardware/kecheng-kc-330b/api.c
src/hardware/kecheng-kc-330b/protocol.c
src/hardware/kern-scale/protocol.c
src/hardware/korad-kaxxxxp/protocol.c
src/hardware/lascar-el-usb/api.c
src/hardware/lascar-el-usb/protocol.c
src/hardware/lascar-el-usb/protocol.h
src/hardware/lecroy-logicstudio/api.c
src/hardware/lecroy-xstream/api.c
src/hardware/lecroy-xstream/protocol.c
src/hardware/link-mso19/protocol.c
src/hardware/manson-hcs-3xxx/protocol.c
src/hardware/maynuo-m97/api.c
src/hardware/maynuo-m97/protocol.c
src/hardware/mic-985xx/protocol.c
src/hardware/motech-lps-30x/protocol.c
src/hardware/norma-dmm/protocol.c
src/hardware/pce-322a/protocol.c
src/hardware/pipistrello-ols/api.c
src/hardware/pipistrello-ols/protocol.c
src/hardware/rigol-ds/api.c
src/hardware/rigol-ds/protocol.c
src/hardware/saleae-logic-pro/api.c
src/hardware/saleae-logic16/api.c
src/hardware/scpi-pps/api.c
src/hardware/serial-dmm/protocol.c
src/hardware/sysclk-lwla/api.c
src/hardware/teleinfo/protocol.c
src/hardware/testo/api.c
src/hardware/testo/protocol.c
src/hardware/tondaj-sl-814/protocol.c
src/hardware/uni-t-dmm/api.c
src/hardware/uni-t-dmm/protocol.c
src/hardware/uni-t-ut32x/api.c
src/hardware/uni-t-ut32x/protocol.c
src/hardware/victor-dmm/api.c
src/hardware/yokogawa-dlm/api.c
src/hardware/yokogawa-dlm/protocol.c
src/hwdriver.c
src/lcr/es51919.c
src/libsigrok-internal.h
src/session.c
src/std.c