]> sigrok.org Git - libsigrok.git/blobdiff - hardware/tondaj-sl-814/api.c
Deprecate SR_DI_HWCAPS.
[libsigrok.git] / hardware / tondaj-sl-814 / api.c
index aa3fe6ff32eb534499f2eef1c2e47d1ee5f75279..7f6066310147d04eea938ff69533422202dac9f0 100644 (file)
@@ -203,9 +203,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;
        }
@@ -244,6 +241,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;
        }