X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Frigol-ds1xx2%2Fapi.c;h=1590f060b6db5c359c837f9233a9839a9784315c;hb=6b8d6f93bb8df26ea04624009e2715cb6766b4f5;hp=4023ecca1ef4d2a4bd705d442f5af799cf87736c;hpb=bd58d8f3ece91443d5e98a7e99fd740767ed6222;p=libsigrok.git diff --git a/hardware/rigol-ds1xx2/api.c b/hardware/rigol-ds1xx2/api.c index 4023ecca..1590f060 100644 --- a/hardware/rigol-ds1xx2/api.c +++ b/hardware/rigol-ds1xx2/api.c @@ -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;