]> sigrok.org Git - sigrok-cli.git/commitdiff
Don't output anything else when decoding.
authorBert Vermeulen <redacted>
Tue, 22 Apr 2014 21:37:14 +0000 (23:37 +0200)
committerBert Vermeulen <redacted>
Tue, 22 Apr 2014 21:37:14 +0000 (23:37 +0200)
session.c

index d1937f82af08efb512f7c0f242480848ee6c6f5e..7b2aaf4a304dbb611ded1c26304ad7a2b58c08c2 100644 (file)
--- 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);