]> sigrok.org Git - libsigrok.git/blobdiff - hardware/fluke-dmm/api.c
Deprecate SR_DI_HWCAPS.
[libsigrok.git] / hardware / fluke-dmm / api.c
index bf00b7352326c6ae281f9cfb9ea5d0f834069b76..dd9e7178ff738133f2cf44e43e066ff3025706ab 100644 (file)
@@ -289,9 +289,6 @@ static int config_get(int id, const void **data, const struct sr_dev_inst *sdi)
        case SR_DI_HWOPTS:
                *data = hwopts;
                break;
-       case SR_DI_HWCAPS:
-               *data = hwcaps;
-               break;
        default:
                return SR_ERR_ARG;
        }
@@ -342,6 +339,9 @@ static int config_list(int key, const void **data, const struct sr_dev_inst *sdi
        (void)sdi;
 
        switch (key) {
+       case SR_CONF_DEVICE_OPTIONS:
+               *data = hwcaps;
+               break;
        default:
                return SR_ERR_ARG;
        }