From: Bert Vermeulen Date: Tue, 22 Apr 2014 21:37:14 +0000 (+0200) Subject: Don't output anything else when decoding. X-Git-Tag: sigrok-cli-0.5.0~10 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=b4d72c27b716b729a35e5d985f11f69ef5e2fa8e;p=sigrok-cli.git Don't output anything else when decoding. --- diff --git a/session.c b/session.c index d1937f8..7b2aaf4 100644 --- a/session.c +++ b/session.c @@ -300,7 +300,7 @@ void datafeed_in(const struct sr_dev_inst *sdi, break; } - if (o) { + if (o && !opt_pds) { if (sr_output_send(o, packet, &out) == SR_OK && out) { fwrite(out->str, 1, out->len, outfile); fflush(outfile);