]> sigrok.org Git - libsigrok.git/blobdiff - sigrok.h
Revert "re-enable filter and datastore for DF_LOGIC"
[libsigrok.git] / sigrok.h
index 1ba03b6313b6ff4cb67cd8570fa601eea8e11b01..e3b6ac78c56dbd5de0e27d626671ad9e3ce28fa6 100644 (file)
--- a/sigrok.h
+++ b/sigrok.h
@@ -190,7 +190,6 @@ struct device {
        struct device_plugin *plugin;
        /* A plugin may handle multiple devices of the same type */
        int plugin_index;
-       uint8_t probe_type;
        /* List of struct probe* */
        GSList *probes;
        /* Data acquired by this device, if any */
@@ -204,6 +203,7 @@ enum {
 
 struct probe {
        int index;
+       int type;
        gboolean enabled;
        char *name;
        char *trigger;
@@ -297,8 +297,6 @@ enum {
        DI_CUR_SAMPLERATE,
        /* Supported pattern generator modes */
        DI_PATTERNMODES,
-       /* Probes type, DF_ANALOG needs this to be PROBE_TYPE_ANALOG */
-       DI_PROBE_TYPE,
 };
 
 /*