]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/brymen-bm86x/api.c
Consistently use 'devopts' variable across all drivers.
[libsigrok.git] / src / hardware / brymen-bm86x / api.c
index f47c01ed74884f7fbb65c8be760851c1427f67bf..f434c136061323128686bb167bd9f908352d5a2a 100644 (file)
@@ -25,7 +25,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_SAMPLES,
        SR_CONF_LIMIT_MSEC,
@@ -247,7 +247,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;