]> sigrok.org Git - libsigrok.git/blobdiff - hardware/agilent-dmm/api.c
Deprecate SR_DI_HWCAPS.
[libsigrok.git] / hardware / agilent-dmm / api.c
index aa56b58d42c10d87c12e7e9017afc07d2a2fb22c..5f961018f70a5615b38b28a80d36ffff86c7fc2e 100644 (file)
@@ -255,9 +255,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;
        }
@@ -308,6 +305,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;
        }