]> sigrok.org Git - libsigrok.git/blobdiff - hardware/hantek-dso/api.c
Get rid of obsolete SR_DI_NUM_PROBES and SR_DI_PROBE_NAMES.
[libsigrok.git] / hardware / hantek-dso / api.c
index a617e55187dba06328fd98d60026bec93974d6cd..aec6651ff7677a0b82933f3cff04faa5cc8b732e 100644 (file)
@@ -53,8 +53,7 @@ static const int hwcaps[] = {
 };
 
 static const char *probe_names[] = {
-       "CH1",
-       "CH2",
+       "CH1", "CH2",
        NULL,
 };
 
@@ -429,12 +428,6 @@ static int hw_info_get(int info_id, const void **data,
        case SR_DI_HWCAPS:
                *data = hwcaps;
                break;
-       case SR_DI_NUM_PROBES:
-               *data = GINT_TO_POINTER(NUM_PROBES);
-               break;
-       case SR_DI_PROBE_NAMES:
-               *data = probe_names;
-               break;
        case SR_DI_BUFFERSIZES:
                *data = buffersizes;
                break;