]> sigrok.org Git - libsigrok.git/blobdiff - output/text/ascii.c
Add SR_ prefix for MAX_NUM_PROBES/MAX_PROBENAME_LEN.
[libsigrok.git] / output / text / ascii.c
index e4eacaf3d3d90c71a38efa66e65ada95c660e09b..04d39ea37565f297ddd045e9c2e51d1f3d4df5f3 100644 (file)
@@ -40,7 +40,7 @@ int data_ascii(struct sr_output *o, const char *data_in, uint64_t length_in,
        char *outbuf;
 
        ctx = o->internal;
-       max_linelen = MAX_PROBENAME_LEN + 3 + ctx->samples_per_line
+       max_linelen = SR_MAX_PROBENAME_LEN + 3 + ctx->samples_per_line
                        + ctx->samples_per_line / 8;
         /*
          * Calculate space needed for probes. Set aside 512 bytes for