X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Ffluke-dmm%2Ffluke-dmm.h;h=e85682fbcf3e271bea982a0a3184ad13212cc06b;hb=b02bb45f4cf6378520e5a5b82ff39013cfa270b6;hp=664d76d95f1b06197626becb161da289dae78da2;hpb=204014007f30a3980e6abb35b91bf654d190d81f;p=libsigrok.git diff --git a/src/hardware/fluke-dmm/fluke-dmm.h b/src/hardware/fluke-dmm/fluke-dmm.h index 664d76d9..e85682fb 100644 --- a/src/hardware/fluke-dmm/fluke-dmm.h +++ b/src/hardware/fluke-dmm/fluke-dmm.h @@ -33,6 +33,7 @@ enum { FLUKE_189, FLUKE_287, FLUKE_190, + FLUKE_289, }; /* Supported device profiles */ @@ -48,14 +49,9 @@ struct flukedmm_profile { /* Private, per-device-instance driver context. */ struct dev_context { const struct flukedmm_profile *profile; - uint64_t limit_samples; - uint64_t limit_msec; - - /* Opaque pointer passed in by the frontend. */ - void *cb_data; + struct sr_sw_limits limits; /* Runtime. */ - uint64_t num_samples; char buf[FLUKEDMM_BUFSIZE]; int buflen; int64_t cmd_sent_at;