X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fsaleae-logic16%2Fprotocol.h;h=00979a305cedd825bd29fcad3cba5beeb2030369;hb=d378f1009999f8b9a1037a9f417ea5518d9a6d37;hp=cdfc3681c031aa8937a64c331425ad667c44414e;hpb=6f479a0a72492b2a28344de04776733b19fdbaa9;p=libsigrok.git diff --git a/src/hardware/saleae-logic16/protocol.h b/src/hardware/saleae-logic16/protocol.h index cdfc3681..00979a30 100644 --- a/src/hardware/saleae-logic16/protocol.h +++ b/src/hardware/saleae-logic16/protocol.h @@ -59,6 +59,9 @@ struct dev_context { /** Maximum number of samples to capture, if nonzero. */ uint64_t limit_samples; + /** Percent of the samples that should be captured before the trigger. */ + uint64_t capture_ratio; + /** The currently configured input voltage of the device. */ enum voltage_range cur_voltage_range;