]> sigrok.org Git - libsigrok.git/blobdiff - output/text/bits.c
Rename various *PROBE* macros to *CHANNEL*.
[libsigrok.git] / output / text / bits.c
index af3196925281977a03d734a90e699ecbbffd851e..7eafecdf3e99e0ecef13240d1cd136c5cefaa685 100644 (file)
@@ -43,7 +43,7 @@ SR_PRIV int data_bits(struct sr_output *o, const uint8_t *data_in,
        uint8_t *outbuf, c;
 
        ctx = o->internal;
-       max_linelen = SR_MAX_PROBENAME_LEN + 3 + ctx->samples_per_line
+       max_linelen = SR_MAX_CHANNELNAME_LEN + 3 + ctx->samples_per_line
                        + ctx->samples_per_line / 8;
         /*
          * Calculate space needed for probes. Set aside 512 bytes for