]> sigrok.org Git - sigrok-cli.git/blobdiff - session.c
Don't output anything else when decoding.
[sigrok-cli.git] / 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);