From: Uwe Hermann Date: Sat, 4 Feb 2012 09:10:43 +0000 (+0100) Subject: sr/cli/gtk: Remove analog left-overs from API. X-Git-Tag: sigrok-cli-0.3.0~50 X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-cli.git;a=commitdiff_plain;h=1e0f763c235e12c6ae8a0d11dbe82b70f5fdd92e sr/cli/gtk: Remove analog left-overs from API. This will come back in some form or another later, but for now don't clutter the API with non-working stuff. Removing stuff from APIs is not possible without breaking the API, adding stuff later is simpler. --- diff --git a/doc/sigrok-cli.1 b/doc/sigrok-cli.1 index bbd138d..7b854a7 100644 --- a/doc/sigrok-cli.1 +++ b/doc/sigrok-cli.1 @@ -148,9 +148,8 @@ Supported formats currently include .BR ascii , .BR binary , .BR vcd , -.BR ols , -.BR gnuplot ", and" -.BR analog . +.BR ols ", and" +.BR gnuplot . .sp The .B bits diff --git a/sigrok-cli.c b/sigrok-cli.c index 83eef08..a13caad 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -398,8 +398,6 @@ static void datafeed_in(struct sr_device *device, struct sr_datafeed_packet *pac sample_size = logic->unitsize; g_message("cli: received SR_DF_LOGIC, %"PRIu64" bytes", logic->length); break; - case SR_DF_ANALOG: - break; } /* not supporting anything but SR_DF_LOGIC for now */