]> sigrok.org Git - libsigrok.git/blobdiff - sigrok.h.in
sr: Drop analog left-overs from sigrok.h.
[libsigrok.git] / sigrok.h.in
index b341efa1b07d63c758deb59d88badb440133c9d3..8622eb4bf3e9b396f551c9ea3a4ca338dfc8b2a7 100644 (file)
@@ -118,19 +118,6 @@ struct sr_datafeed_logic {
        void *data;
 };
 
-#if defined(HAVE_LA_ALSA)
-struct sr_analog_probe {
-       uint8_t att;
-       uint8_t res;    /* Needs to be a power of 2, FIXME */
-       uint16_t val;   /* Max hardware ADC width is 16bits */
-};
-
-struct sr_analog_sample {
-       uint8_t num_probes; /* Max hardware probes is 256 */
-       struct sr_analog_probe probes[];
-};
-#endif
-
 struct sr_input {
        struct sr_input_format *format;
        char *param;
@@ -211,6 +198,11 @@ enum {
 
        /* TODO: SR_HWCAP_SCOPE, SW_HWCAP_PATTERN_GENERATOR, etc.? */
 
+       /*--- Device types --------------------------------------------------*/
+
+       /** The device is demo device. */
+       SR_HWCAP_DEMO_DEVICE,
+
        /*--- Device options ------------------------------------------------*/
 
        /** The device supports setting/changing its samplerate. */