From: Daniel Elstner Date: Sun, 20 Sep 2015 12:06:06 +0000 (+0200) Subject: virtual-session: Advertise all config keys X-Git-Tag: libsigrok-0.4.0~244 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=02e49ae5d2e37daa6e3e76a4123000bc5d77ee1f;p=libsigrok.git virtual-session: Advertise all config keys --- diff --git a/src/session_driver.c b/src/session_driver.c index 4fea5881..c1706bb5 100644 --- a/src/session_driver.c +++ b/src/session_driver.c @@ -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)