]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/ikalogic-scanaplus/api.c
Fix various gcc 8 compiler warnings related to ARRAY_SIZE.
[libsigrok.git] / src / hardware / ikalogic-scanaplus / api.c
index fe77104d300ef593d46a2b23f214910be9d1637a..f29e5c39ae327c24b37a4ade4047cecc4410bc98 100644 (file)
@@ -253,7 +253,7 @@ static int config_list(uint32_t key, GVariant **data,
 {
        switch (key) {
        case SR_CONF_DEVICE_OPTIONS:
-               return STD_CONFIG_LIST(key, data, sdi, cg, NULL, drvopts, devopts);
+               return STD_CONFIG_LIST(key, data, sdi, cg, NO_OPTS, drvopts, devopts);
        case SR_CONF_SAMPLERATE:
                *data = std_gvar_samplerates(ARRAY_AND_SIZE(samplerates));
                break;