COMMAND_SENT,
};
-/** Private, per-device-instance driver context. */
struct dev_context {
- /** The current sampling limit (in number of samples). */
- uint64_t limit_samples;
+ struct sr_sw_limits limits;
- /** The current sampling limit (in ms). */
- uint64_t limit_msec;
-
- /** The current number of already received samples. */
- uint64_t num_samples;
int state;
char buf[10];
int buflen;