]> sigrok.org Git - libsigrok.git/blobdiff - output/text/ascii.c
Rename various *PROBE* macros to *CHANNEL*.
[libsigrok.git] / output / text / ascii.c
index 4a6b4f08a920db9ee0e54fec76a9176f510f3312..7ad3fec335c45e1697ee716aa92532929c0c9998 100644 (file)
@@ -43,7 +43,7 @@ SR_PRIV int data_ascii(struct sr_output *o, const uint8_t *data_in,
        uint8_t *outbuf;
 
        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