projects
/
sigrok-cli.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8de01ef
)
sr/srd: Use/fix SR(D)_MAX_NUM_PROBES.
author
Uwe Hermann
<uwe@hermann-uwe.de>
Sat, 7 Apr 2012 16:14:39 +0000
(18:14 +0200)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Tue, 10 Apr 2012 21:25:58 +0000
(23:25 +0200)
sigrok-cli.c
patch
|
blob
|
history
diff --git
a/sigrok-cli.c
b/sigrok-cli.c
index 204d5c2cad7897a09cbbc9ebabdd1e6bf6a99e29..5539041b6cdee63a481aa8f2fbbdef16e2dd832e 100644
(file)
--- a/
sigrok-cli.c
+++ b/
sigrok-cli.c
@@
-292,7
+292,7
@@
static void show_pd_detail(void)
static void datafeed_in(struct sr_dev *dev, struct sr_datafeed_packet *packet)
{
static struct sr_output *o = NULL;
- static int probelist[SR_MAX_NUM_PROBES] = { 0 };
+ static int probelist[SR_MAX_NUM_PROBES
+ 1
] = { 0 };
static uint64_t received_samples = 0;
static int unitsize = 0;
static int triggered = 0;