]> sigrok.org Git - libsigrok.git/blobdiff - output/analog.c
sr/srd: Small fixes, constifications, doc updates.
[libsigrok.git] / output / analog.c
index 762fdfc535a20ec1266ea15349fbd0641e69d647..20f680f064db686ad7111d220f9d055632103dff 100644 (file)
@@ -41,7 +41,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;