]> sigrok.org Git - libsigrok.git/blobdiff - hardware/openbench-logic-sniffer/api.c
Deprecate SR_DI_HWOPTS.
[libsigrok.git] / hardware / openbench-logic-sniffer / api.c
index 634a2a570344f84f307f5a8c467a1522b9fc86fa..52b9d975615ef746303093e3cb4a087bfa989da7 100644 (file)
@@ -255,9 +255,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_HWOPTS:
-               *data = hwopts;
-               break;
        case SR_CONF_SAMPLERATE:
                if (sdi) {
                        devc = sdi->priv;
@@ -326,6 +323,9 @@ static int config_list(int key, const void **data, const struct sr_dev_inst *sdi
        (void)sdi;
 
        switch (key) {
+       case SR_CONF_SCAN_OPTIONS:
+               *data = hwopts;
+               break;
        case SR_CONF_DEVICE_OPTIONS:
                *data = hwcaps;
                break;