]> sigrok.org Git - sigrok-cli.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.

doc/sigrok-cli.1
sigrok-cli.c

index bbd138de82c0d39be7c37b0b4114f4ab8a3c7ae2..7b854a7b261fa35cfaffe024a1b162712e427eda 100644 (file)
@@ -148,9 +148,8 @@ Supported formats currently include
 .BR ascii ,
 .BR binary ,
 .BR vcd ,
 .BR ascii ,
 .BR binary ,
 .BR vcd ,
-.BR ols ,
-.BR gnuplot ", and"
-.BR analog .
+.BR ols ", and"
+.BR gnuplot .
 .sp
 The
 .B bits
 .sp
 The
 .B bits
index 83eef0879c48c72cfdf812cc09ad5c6fe067b40b..a13caad4ca6a072f5b932d5f01f3e134c146b78c 100644 (file)
@@ -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;
                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 */
        }
 
        /* not supporting anything but SR_DF_LOGIC for now */