]> sigrok.org Git - libsigrok.git/blobdiff - hardware/saleae-logic/saleae-logic.h
salae: Only terminate session after all transfers have been aborted
[libsigrok.git] / hardware / saleae-logic / saleae-logic.h
index 5378616e4b8c511b88a38ee1a7796cfbb829a87d..6a96d458b93f40cb2fc1e621b975182aeab390b1 100644 (file)
@@ -66,6 +66,8 @@ struct context {
        int trigger_stage;
        uint8_t trigger_buffer[NUM_TRIGGER_STAGES];
        int num_samples;
+       int submitted_transfers;
+
        /*
         * opaque session data passed in by the frontend, will be passed back
         * on the session bus along with samples.