#include <stdlib.h>
#include <string.h>
#include <glib.h>
-#include "config.h" /* Needed for PACKAGE_STRING and others. */
#include <libsigrok/libsigrok.h>
#include "libsigrok-internal.h"
/* Some metadata */
t = time(NULL);
- g_string_append_printf(header, "; CSV, generated by %s on %s",
- PACKAGE_STRING, ctime(&t));
+ g_string_append_printf(header, "; CSV, generated by %s %s on %s",
+ PACKAGE_NAME, SR_PACKAGE_VERSION_STRING, ctime(&t));
/* Columns / channels */
num_channels = g_slist_length(o->sdi->channels);
*/
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:
/*
if (ctx->inframe) {
handle_analog_frame(ctx, analog);
- ret = SR_OK_CONTINUE;
break;
}