]> sigrok.org Git - libsigrok.git/blobdiff - hardware/uni-t-dmm/api.c
Deprecate SR_DI_HWOPTS.
[libsigrok.git] / hardware / uni-t-dmm / api.c
index 7511283823b145c95f3af1aca47ca5e520dc96a5..7ac433339e6276fb00afecb5966f983f74b252b2 100644 (file)
@@ -193,9 +193,6 @@ static int config_get(int id, const void **data, const struct sr_dev_inst *sdi)
        sr_spew("Backend requested info_id %d.", id);
 
        switch (id) {
-       case SR_DI_HWOPTS:
-               *data = hwopts;
-               break;
        case SR_CONF_SAMPLERATE:
                /* TODO: Get rid of this. */
                *data = NULL;
@@ -251,6 +248,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;