]> sigrok.org Git - libsigrok.git/blobdiff - hardware/chronovu-la8/api.c
Deprecate SR_DI_HWCAPS.
[libsigrok.git] / hardware / chronovu-la8 / api.c
index bfeddaa1d0124e808db024cafbd8088b2535e40d..478f0a1c95b1763de0893a25b1adb6b4065b3f62 100644 (file)
@@ -293,9 +293,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;
@@ -361,6 +358,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:
                fill_supported_samplerates_if_needed();
                *data = &samplerates;