X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=output%2Ftext%2Ftext.h;h=8dcb45d22a089673cfdad66719acdfaca85322a1;hp=4ec26985a21ea280cfee7154fbde6f5946eb0842;hb=8ec95d22822ed5ebf4b6aeaff654608ad0225073;hpb=a4d39856788e2182e53fa6a0f0a05f3867f31fc0 diff --git a/output/text/text.h b/output/text/text.h index 4ec26985..8dcb45d2 100644 --- a/output/text/text.h +++ b/output/text/text.h @@ -36,7 +36,7 @@ struct context { unsigned int unitsize; int line_offset; int linebuf_len; - char *probelist[65]; + char *probelist[SR_MAX_NUM_PROBES + 1]; char *linebuf; int spl_cnt; uint8_t *linevalues;