X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fcem-dt-885x%2Fprotocol.h;h=fa9474d6b99e52f1b50de4f9e08e742b29aa9519;hb=662172d4f4eaada1b4a107317ca085c80ff38954;hp=28a7cc6ae24eb7e705581d15d6e1e1c974c38dd3;hpb=6caeef6ee5795232b78c8986619f8919e2b09c8c;p=libsigrok.git diff --git a/hardware/cem-dt-885x/protocol.h b/hardware/cem-dt-885x/protocol.h index 28a7cc6a..fa9474d6 100644 --- a/hardware/cem-dt-885x/protocol.h +++ b/hardware/cem-dt-885x/protocol.h @@ -75,12 +75,18 @@ enum { CMD_TOGGLE_POWER_OFF = 0x33, }; +enum { + DATA_SOURCE_LIVE, + DATA_SOURCE_MEMORY, +}; + /** Private, per-device-instance driver context. */ struct dev_context { /* Device state */ uint64_t cur_mqflags; int recording; int cur_meas_range; + int cur_data_source; /* Acquisition settings */ uint64_t limit_samples;