]> sigrok.org Git - libsigrok.git/blobdiff - output/text/bits.c
Add SR_ prefix for MAX_NUM_PROBES/MAX_PROBENAME_LEN.
[libsigrok.git] / output / text / bits.c
index ccf550701e1c816affb0a94aa99220b5fca3fdfd..43eb7d0200633cd0c86ff462eadc4c6668053721 100644 (file)
@@ -40,7 +40,7 @@ int data_bits(struct sr_output *o, const char *data_in, uint64_t length_in,
        char *outbuf, c;
 
        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