]> sigrok.org Git - libsigrok.git/commitdiff
Publish config key capabilities on session driver.
authorBert Vermeulen <redacted>
Sun, 23 Nov 2014 16:47:58 +0000 (17:47 +0100)
committerBert Vermeulen <redacted>
Sun, 23 Nov 2014 16:48:29 +0000 (17:48 +0100)
src/session_driver.c

index 511adac5978814f05f61ca9f30e839ecd17de999..62b16986e4afa264419fb0263e8381c2afdb176c 100644 (file)
@@ -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)