From: Uwe Hermann Date: Wed, 21 Aug 2013 09:41:21 +0000 (+0200) Subject: saleae-logic16: Drop unneeded NUM_PROBES. X-Git-Tag: libsigrok-0.2.2~81 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=d0107565c1e61e7b705fb9c0c84c72490da57d8f;p=libsigrok.git saleae-logic16: Drop unneeded NUM_PROBES. --- diff --git a/hardware/saleae-logic16/api.c b/hardware/saleae-logic16/api.c index 248c24ae..a12143a5 100644 --- a/hardware/saleae-logic16/api.c +++ b/hardware/saleae-logic16/api.c @@ -30,7 +30,6 @@ #define LOGIC16_VID 0x21a9 #define LOGIC16_PID 0x1001 -#define NUM_PROBES 16 #define USB_INTERFACE 0 #define USB_CONFIGURATION 1 @@ -56,7 +55,7 @@ static const int32_t hwcaps[] = { SR_CONF_CONTINUOUS, }; -static const char *probe_names[NUM_PROBES + 1] = { +static const char *probe_names[] = { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", NULL,