From 491e882048295442b38bb4c24d830302a23c0b70 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Fri, 3 Aug 2012 01:05:59 +0200 Subject: [PATCH] cli: don't call sr_session_stop() when SR_DF_END is seen This was effectively an infinite loop in some cases. --- sigrok-cli.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sigrok-cli.c b/sigrok-cli.c index 403f01d..f548282 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -599,7 +599,6 @@ static void datafeed_in(const struct sr_dev_inst *sdi, if (opt_continuous) g_warning("Device stopped after %" PRIu64 " samples.", received_samples); - sr_session_stop(); if (outfile && outfile != stdout) fclose(outfile); g_free(o); -- 2.30.2