X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fbrymen-bm86x%2Fprotocol.h;h=4cba7674b7de5ac1a3fa2d4cbc556713d7b85bca;hb=6cf1a87bfb803e088234e2e313891d27379880cf;hp=57af1552217dbdc79cff2d41f224991994f96bda;hpb=155b680da482cea2381becb73c51cfb838bff31e;p=libsigrok.git diff --git a/src/hardware/brymen-bm86x/protocol.h b/src/hardware/brymen-bm86x/protocol.h index 57af1552..4cba7674 100644 --- a/src/hardware/brymen-bm86x/protocol.h +++ b/src/hardware/brymen-bm86x/protocol.h @@ -22,7 +22,7 @@ #include #include -#include "libsigrok.h" +#include #include "libsigrok-internal.h" #define LOG_PREFIX "brymen-bm86x" @@ -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;