From: Bert Vermeulen Date: Sun, 30 Aug 2015 19:13:51 +0000 (+0200) Subject: output/csv: Avoid using SR_OK_CONTINUE. X-Git-Tag: libsigrok-0.4.0~361 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=b93006789f5cbce740bb2cece5a87d2969076e25;p=libsigrok.git output/csv: Avoid using SR_OK_CONTINUE. --- diff --git a/src/output/csv.c b/src/output/csv.c index d3f99664..8b234424 100644 --- a/src/output/csv.c +++ b/src/output/csv.c @@ -223,7 +223,7 @@ static int receive(const struct sr_output *o, const struct sr_datafeed_packet *p */ memset(ctx->analog_vals, 0, sizeof(float) * ctx->num_analog_channels); ctx->inframe = TRUE; - ret = SR_OK_CONTINUE; + ret = SR_OK; break; case SR_DF_FRAME_END: /* @@ -269,7 +269,6 @@ static int receive(const struct sr_output *o, const struct sr_datafeed_packet *p if (ctx->inframe) { handle_analog_frame(ctx, analog); - ret = SR_OK_CONTINUE; break; }