From 1e0f763c235e12c6ae8a0d11dbe82b70f5fdd92e Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sat, 4 Feb 2012 10:10:43 +0100 Subject: [PATCH] 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. --- doc/sigrok-cli.1 | 5 ++--- sigrok-cli.c | 2 -- 2 files changed, 2 insertions(+), 5 deletions(-) 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 */ -- 2.30.2