]> 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 5c0b34a28d72947444b39a768dc8a27c2a320095..6a96d458b93f40cb2fc1e621b975182aeab390b1 100644 (file)
@@ -65,6 +65,9 @@ struct context {
        uint8_t trigger_value[NUM_TRIGGER_STAGES];
        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.