X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsession_driver.c;h=4c4ef364883e83b6e3d0ddf357d20fc9ee8266fa;hb=65c8d48f1418700dae72c8b6e39eb0d77b1ea17d;hp=6a320aa5b3d17908dc401fa75bea5bd1ec0d3853;hpb=584560f142e1b17b9f4ef9069bd3724f2f77e750;p=libsigrok.git diff --git a/src/session_driver.c b/src/session_driver.c index 6a320aa5..4c4ef364 100644 --- a/src/session_driver.c +++ b/src/session_driver.c @@ -49,7 +49,7 @@ struct session_vdev { gboolean finished; }; -static const uint32_t hwcaps[] = { +static const uint32_t devopts[] = { SR_CONF_CAPTUREFILE, SR_CONF_CAPTURE_UNITSIZE, SR_CONF_SAMPLERATE, @@ -277,7 +277,7 @@ static int config_list(uint32_t key, GVariant **data, const struct sr_dev_inst * switch (key) { case SR_CONF_DEVICE_OPTIONS: *data = g_variant_new_fixed_array(G_VARIANT_TYPE_UINT32, - hwcaps, ARRAY_SIZE(hwcaps), sizeof(uint32_t)); + devopts, ARRAY_SIZE(devopts), sizeof(uint32_t)); break; default: return SR_ERR_NA;