]> sigrok.org Git - libsigrok.git/commit
sr_config_commit(): Factor out SR_ERR_DEV_CLOSED check.
authorUwe Hermann <redacted>
Thu, 6 Jul 2017 18:17:50 +0000 (20:17 +0200)
committerUwe Hermann <redacted>
Fri, 7 Jul 2017 19:51:22 +0000 (21:51 +0200)
commit89ab9fc39c015d541b2fdd4d9d2fb5e00f63be8a
tree97514bacd8e338a107a4f96410df5b38547ab06a
parentc3cd66a00cdb4afbd43108563d979eebfbafaf69
sr_config_commit(): Factor out SR_ERR_DEV_CLOSED check.

This ensures consistent checks and log messages across all drivers
and reduces the per-driver boilerplate.
src/hardware/hung-chang-dso-2100/api.c
src/hardware/sysclk-lwla/api.c
src/hwdriver.c