X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fsaleae-logic%2Fsaleae-logic.h;h=6a96d458b93f40cb2fc1e621b975182aeab390b1;hb=ec888f62fe4298229e6ed0865937d74476715bf7;hp=e4876d3beb1e206e0979d7db0cb788f381a89b66;hpb=7f6a3b43ad9e26a2928672927960bcc02a2c7510;p=libsigrok.git diff --git a/hardware/saleae-logic/saleae-logic.h b/hardware/saleae-logic/saleae-logic.h index e4876d3b..6a96d458 100644 --- a/hardware/saleae-logic/saleae-logic.h +++ b/hardware/saleae-logic/saleae-logic.h @@ -65,11 +65,14 @@ 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. */ - void *session_data; + void *session_dev_id; struct sr_usb_dev_inst *usb; };