]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/fx2lafw/api.c
Consistently use 'devopts' variable across all drivers.
[libsigrok.git] / src / hardware / fx2lafw / api.c
index a233cbc878d61862bc529c7ecda95ea016b94e46..dead6dca8bf90ebcb74680e9df6247032581c6ca 100644 (file)
@@ -77,7 +77,7 @@ static const uint32_t hwopts[] = {
        SR_CONF_CONN,
 };
 
-static const uint32_t hwcaps[] = {
+static const uint32_t devopts[] = {
        SR_CONF_LOGIC_ANALYZER,
        SR_CONF_TRIGGER_MATCH,
        SR_CONF_SAMPLERATE,
@@ -482,7 +482,7 @@ static int config_list(uint32_t key, GVariant **data, const struct sr_dev_inst *
                break;
        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;
        case SR_CONF_SAMPLERATE:
                g_variant_builder_init(&gvb, G_VARIANT_TYPE("a{sv}"));