]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/hung-chang-dso-2100/protocol.h
drivers: Drop unneeded or duplicate comments.
[libsigrok.git] / src / hardware / hung-chang-dso-2100 / protocol.h
index 7168bd69ff9c0491e57d960ef838304240c7715e..f7268f3b133c4cceb96b9ef174b1e2c665a015c2 100644 (file)
@@ -29,9 +29,7 @@
 #define MAX_RETRIES 4
 #define NUM_CHANNELS 2
 
-/** Private, per-device-instance driver context. */
 struct dev_context {
-       /* Acquisition settings */
        GSList *enabled_channel;
        uint8_t channel;
        uint8_t rate;
@@ -42,7 +40,6 @@ struct dev_context {
        uint8_t offset[2];
        uint8_t gain[2];
 
-       /* Operational state */
        uint64_t frame_limit;
        uint64_t frame;
        uint64_t probe[2];
@@ -51,7 +48,6 @@ struct dev_context {
        uint8_t retries;
        gboolean adc2;
 
-       /* Temporary state across callbacks */
        float *samples;
        float factor;
        gboolean state_known;