]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/appa-55ii/api.c
Consistently use 'devopts' variable across all drivers.
[libsigrok.git] / src / hardware / appa-55ii / api.c
index f57a3b901a3782c0fa89a0a8f26985f5264cc681..f41e35887567cc775f2df087c18f31e99d2cc33e 100644 (file)
@@ -25,7 +25,7 @@ static const uint32_t hwopts[] = {
        SR_CONF_SERIALCOMM,
 };
 
-static const uint32_t hwcaps[] = {
+static const uint32_t devopts[] = {
        SR_CONF_THERMOMETER,
        SR_CONF_LIMIT_SAMPLES,
        SR_CONF_LIMIT_MSEC,
@@ -218,7 +218,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_DATA_SOURCE:
                *data = g_variant_new_strv(data_sources, ARRAY_SIZE(data_sources));