#include <string.h>
#include <glib.h>
#include <sigrok.h>
+#include <sigrok-internal.h>
#include "config.h"
struct context {
ctx->probelist[ctx->num_enabled_probes++] = probe->name;
}
if (ctx->num_enabled_probes > 94) {
- g_warning("VCD only supports 94 probes.");
+ sr_warn("VCD only supports 94 probes.");
return SR_ERR;
}
}
struct sr_output_format output_vcd = {
- .extension = "vcd",
+ .id = "vcd",
.description = "Value Change Dump (VCD)",
.df_type = SR_DF_LOGIC,
.init = init,