output/csv: Avoid using SR_OK_CONTINUE.

This commit is contained in:
Bert Vermeulen 2015-08-30 21:13:51 +02:00
parent 2d05415f2e
commit b93006789f
1 changed files with 1 additions and 2 deletions

View File

@ -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;
} }