]> sigrok.org Git - libsigrok.git/commitdiff
virtual-session: Advertise all config keys
authorDaniel Elstner <redacted>
Sun, 20 Sep 2015 12:06:06 +0000 (14:06 +0200)
committerDaniel Elstner <redacted>
Thu, 1 Oct 2015 13:44:55 +0000 (15:44 +0200)
src/session_driver.c

index 4fea5881b1bcc24a7836c16006cd8c33cf8da067..c1706bb5dec68956bdb079f9f99c2657c2ea76f6 100644 (file)
@@ -52,7 +52,9 @@ struct session_vdev {
 static const uint32_t devopts[] = {
        SR_CONF_CAPTUREFILE | SR_CONF_SET,
        SR_CONF_CAPTURE_UNITSIZE | SR_CONF_GET | SR_CONF_SET,
+       SR_CONF_NUM_LOGIC_CHANNELS | SR_CONF_SET,
        SR_CONF_SAMPLERATE | SR_CONF_GET | SR_CONF_SET,
+       SR_CONF_SESSIONFILE | SR_CONF_SET,
 };
 
 static int receive_data(int fd, int revents, void *cb_data)