]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/rigol-ds/protocol.h
drivers: Shorten some unnecessarily long arrays.
[libsigrok.git] / src / hardware / rigol-ds / protocol.h
index cdf43f8b2a9f883ca6b454ecd69714b3016aff91..3b17299114bb244e16685662174b1b5a4e496353 100644 (file)
@@ -89,9 +89,7 @@ enum wait_events {
        WAIT_STOP,    /* Wait for scope stopping (only single shots) */
 };
 
-/** Private, per-device-instance driver context. */
 struct dev_context {
-       /* Device model */
        const struct rigol_ds_model *model;
        enum data_format format;
 
@@ -124,10 +122,9 @@ struct dev_context {
        char *trigger_source;
        float horiz_triggerpos;
        char *trigger_slope;
+       float trigger_level;
        char *coupling[MAX_ANALOG_CHANNELS];
 
-       /* Operational state */
-
        /* Number of frames received in total. */
        uint64_t num_frames;
        /* GSList entry for the current channel. */