]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/victor-dmm/api.c
Consistently use 'devopts' variable across all drivers.
[libsigrok.git] / src / hardware / victor-dmm / api.c
index 92a1ace89c5c091c128a76d01373a3bda8aa99cf..59417f7f46926a07d32e87db0c15aecdf3736c21 100644 (file)
@@ -39,7 +39,7 @@ static const uint32_t hwopts[] = {
        SR_CONF_CONN,
 };
 
-static const uint32_t hwcaps[] = {
+static const uint32_t devopts[] = {
        SR_CONF_MULTIMETER,
        SR_CONF_LIMIT_MSEC,
        SR_CONF_LIMIT_SAMPLES,
@@ -276,7 +276,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;
        default:
                return SR_ERR_NA;