]> sigrok.org Git - libsigrok.git/blobdiff - hardware/rigol-ds1xx2/api.c
Get rid of obsolete SR_DI_NUM_PROBES and SR_DI_PROBE_NAMES.
[libsigrok.git] / hardware / rigol-ds1xx2 / api.c
index 4023ecca1ef4d2a4bd705d442f5af799cf87736c..1590f060b6db5c359c837f9233a9839a9784315c 100644 (file)
@@ -40,11 +40,6 @@ static const int hwcaps[] = {
        0,
 };
 
-static const char *probe_names[] = {
-       "CH1", "CH2",
-       NULL,
-};
-
 static const struct sr_rational timebases[] = {
        /* nanoseconds */
        { 2, 1000000000 },
@@ -339,12 +334,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_TIMEBASES:
                *data = timebases;
                break;