X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fbrymen-bm86x%2Fprotocol.h;h=4cba7674b7de5ac1a3fa2d4cbc556713d7b85bca;hb=82458e50b1d711fcc5b179900691cdfb77cb86e1;hp=6e33e8bd80016eaa6f460d4edcfe29f69db6182a;hpb=c1aae90038456a61d0f9313d34e6107c3440d3e7;p=libsigrok.git diff --git a/src/hardware/brymen-bm86x/protocol.h b/src/hardware/brymen-bm86x/protocol.h index 6e33e8bd..4cba7674 100644 --- a/src/hardware/brymen-bm86x/protocol.h +++ b/src/hardware/brymen-bm86x/protocol.h @@ -30,13 +30,10 @@ /** Private, per-device-instance driver context. */ struct dev_context { /* Acquisition settings */ - uint64_t limit_samples; /**< The sampling limit (in number of samples).*/ - uint64_t limit_msec; /**< The time limit (in milliseconds). */ + struct sr_sw_limits sw_limits; /* Operational state */ int detached_kernel_driver;/**< Whether kernel driver was detached or not */ - uint64_t num_samples; /**< The number of already received samples. */ - int64_t start_time; /**< The time at which sampling started. */ /* Temporary state across callbacks */ int interrupt_pending;