output/csv: Avoid using SR_OK_CONTINUE.
This commit is contained in:
parent
2d05415f2e
commit
b93006789f
|
@ -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);
|
memset(ctx->analog_vals, 0, sizeof(float) * ctx->num_analog_channels);
|
||||||
ctx->inframe = TRUE;
|
ctx->inframe = TRUE;
|
||||||
ret = SR_OK_CONTINUE;
|
ret = SR_OK;
|
||||||
break;
|
break;
|
||||||
case SR_DF_FRAME_END:
|
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) {
|
if (ctx->inframe) {
|
||||||
handle_analog_frame(ctx, analog);
|
handle_analog_frame(ctx, analog);
|
||||||
ret = SR_OK_CONTINUE;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue