X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=src%2Fhardware%2Fsaleae-logic16%2Fprotocol.h;fp=src%2Fhardware%2Fsaleae-logic16%2Fprotocol.h;h=00979a305cedd825bd29fcad3cba5beeb2030369;hp=cdfc3681c031aa8937a64c331425ad667c44414e;hb=5a971f66a37df7c4dbe7799b3c7fc7eb30055a61;hpb=7bfcb25cf1aa4fe7ddc177292bcf2ee4d9b1446d 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;