g_string_append_c(out, '\n');
}
-static int receive(struct sr_output *o, const struct sr_dev_inst *sdi,
- const struct sr_datafeed_packet *packet, GString **out)
+static int receive(struct sr_output *o, const struct sr_datafeed_packet *packet,
+ GString **out)
{
const struct sr_datafeed_analog *analog;
struct sr_channel *ch;
const float *fdata;
int i, p;
- (void)sdi;
-
*out = NULL;
if (!o || !o->sdi)
return SR_ERR_ARG;
SR_PRIV struct sr_output_format output_analog = {
.id = "analog",
.description = "Analog data",
- .df_type = SR_DF_ANALOG,
.init = init,
.receive = receive,
.cleanup = cleanup