]> sigrok.org Git - sigrok-gtk.git/commitdiff
sr/cli/gtk: Remove analog left-overs from API.
authorUwe Hermann <redacted>
Sat, 4 Feb 2012 09:10:43 +0000 (10:10 +0100)
committerUwe Hermann <redacted>
Sun, 5 Feb 2012 14:05:12 +0000 (15:05 +0100)
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.

main.c

diff --git a/main.c b/main.c
index 5e0e004ef4d6d5e6f47115c6898edae66155297a..d61f3a4977085457763a78c9c4d68387905fc8e9 100644 (file)
--- a/main.c
+++ b/main.c
@@ -84,8 +84,6 @@ datafeed_in(struct sr_device *device, struct sr_datafeed_packet *packet)
                sample_size = logic->unitsize;
                g_message("fe: received SR_DF_LOGIC, %"PRIu64" bytes", logic->length);
                break;
-       case SR_DF_ANALOG:
-               break;
        }
 
        if (!logic)