From: Bert Vermeulen Date: Sun, 23 Nov 2014 16:47:58 +0000 (+0100) Subject: Publish config key capabilities on session driver. X-Git-Tag: libsigrok-0.4.0~717 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=68ac991dbaa05ab91459419400b21b93f02d0e76;p=libsigrok.git Publish config key capabilities on session driver. --- diff --git a/src/session_driver.c b/src/session_driver.c index 511adac5..62b16986 100644 --- a/src/session_driver.c +++ b/src/session_driver.c @@ -50,9 +50,9 @@ struct session_vdev { }; static const uint32_t devopts[] = { - SR_CONF_CAPTUREFILE, - SR_CONF_CAPTURE_UNITSIZE, - SR_CONF_SAMPLERATE, + SR_CONF_CAPTUREFILE | SR_CONF_SET, + SR_CONF_CAPTURE_UNITSIZE | SR_CONF_GET | SR_CONF_SET, + SR_CONF_SAMPLERATE | SR_CONF_GET | SR_CONF_SET, }; static int receive_data(int fd, int revents, void *cb_data)