]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/brymen-dmm/api.c
Consistently use 'scanopts' variable across all drivers.
[libsigrok.git] / src / hardware / brymen-dmm / api.c
index bdbc909cf950131c9c240a69132b4c48feb95939..44c9286d1227247521636c36617a6f0cab73c2d8 100644 (file)
@@ -19,7 +19,7 @@
 
 #include "protocol.h"
 
-static const uint32_t hwopts[] = {
+static const uint32_t scanopts[] = {
        SR_CONF_CONN,
        SR_CONF_SERIALCOMM,
 };
@@ -189,7 +189,7 @@ static int config_list(uint32_t key, GVariant **data, const struct sr_dev_inst *
        switch (key) {
        case SR_CONF_SCAN_OPTIONS:
                *data = g_variant_new_fixed_array(G_VARIANT_TYPE_UINT32,
-                               hwopts, ARRAY_SIZE(hwopts), sizeof(uint32_t));
+                               scanopts, ARRAY_SIZE(scanopts), sizeof(uint32_t));
                break;
        case SR_CONF_DEVICE_OPTIONS:
                *data = g_variant_new_fixed_array(G_VARIANT_TYPE_UINT32,