]> sigrok.org Git - libsigrok.git/blobdiff - hardware/rigol-ds1xx2/protocol.h
rigol-ds1xx2: properly send frame begin/end packets
[libsigrok.git] / hardware / rigol-ds1xx2 / protocol.h
index fa056030f4e49ee10e54338f1221c373281d1607..62970e728787b9af8dc8c5e670b689aea16e350a 100644 (file)
@@ -52,8 +52,8 @@ struct dev_context {
        /** The current number of already received frames. */
        uint64_t num_frames;
 
-       /** The current number of already received samples. */
-       uint64_t num_samples;
+       /** The current number of samples received in this frame. */
+       uint64_t num_frame_samples;
 
        /** Current scale setting. */
        float scale;