X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Frigol-ds%2Fprotocol.h;h=3b17299114bb244e16685662174b1b5a4e496353;hb=86f76e6cae622673b65823fa6bfc31365fd9487b;hp=cdf43f8b2a9f883ca6b454ecd69714b3016aff91;hpb=934cf6cf5078f01517da303f21ed2ffee9b878f3;p=libsigrok.git diff --git a/src/hardware/rigol-ds/protocol.h b/src/hardware/rigol-ds/protocol.h index cdf43f8b..3b172991 100644 --- a/src/hardware/rigol-ds/protocol.h +++ b/src/hardware/rigol-ds/protocol.h @@ -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. */