X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=output%2Fchronovu_la8.c;h=ad0b5d32fc2c1ccaf294fabdf7035cd977cecefe;hb=f774095496a5ab9b68ce79503ae7d45f717c0006;hp=206f6cdf9bbeeef7bf15c5391429f7816f577bba;hpb=d42eb9d89938d5ec079fe004ccc4ab5128c5d85a;p=libsigrok.git diff --git a/output/chronovu_la8.c b/output/chronovu_la8.c index 206f6cdf..ad0b5d32 100644 --- a/output/chronovu_la8.c +++ b/output/chronovu_la8.c @@ -2,6 +2,7 @@ * This file is part of the libsigrok project. * * Copyright (C) 2011 Uwe Hermann + * Copyright (C) 2014 Bert Vermeulen * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -14,8 +15,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * along with this program. If not, see . */ #include @@ -101,8 +101,8 @@ static int init(struct sr_output *o) return SR_OK; } -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_logic *logic; struct context *ctx; @@ -110,8 +110,6 @@ static int receive(struct sr_output *o, const struct sr_dev_inst *sdi, uint64_t samplerate; gchar c[4]; - (void)sdi; - *out = NULL; if (!o || !o->sdi) return SR_ERR_ARG; @@ -186,7 +184,6 @@ static int cleanup(struct sr_output *o) SR_PRIV struct sr_output_format output_chronovu_la8 = { .id = "chronovu-la8", .description = "ChronoVu LA8", - .df_type = SR_DF_LOGIC, .init = init, .receive = receive, .cleanup = cleanup,