]> sigrok.org Git - libsigrok.git/blobdiff - hardware/link-mso19/api.c
Deprecate SR_DI_HWCAPS.
[libsigrok.git] / hardware / link-mso19 / api.c
index 77faf08b79fd4ed2d4918f27b28a9a905e0619bd..11ae88880df8008386c855146b4b9bcfd48af81a 100644 (file)
@@ -303,9 +303,6 @@ static int config_get(int id, const void **data, const struct sr_dev_inst *sdi)
        struct dev_context *devc;
 
        switch (id) {
-       case SR_DI_HWCAPS:
-               *data = hwcaps;
-               break;
        case SR_CONF_SAMPLERATE:
                if (sdi) {
                        devc = sdi->priv;
@@ -392,6 +389,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;
        case SR_CONF_SAMPLERATE:
                *data = &samplerates;
                break;