X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Ffluke-dmm%2Ffluke-dmm.h;h=8f1571cefc56ece7c6d6f9799a54df04add5cb4a;hb=695dc859c15ba4190f5c1aa2e1a6e2dc6a6e5845;hp=d162bdd0e921d7525cb42c1c3ee8b33f9048c492;hpb=155b680da482cea2381becb73c51cfb838bff31e;p=libsigrok.git diff --git a/src/hardware/fluke-dmm/fluke-dmm.h b/src/hardware/fluke-dmm/fluke-dmm.h index d162bdd0..8f1571ce 100644 --- a/src/hardware/fluke-dmm/fluke-dmm.h +++ b/src/hardware/fluke-dmm/fluke-dmm.h @@ -24,12 +24,16 @@ #define FLUKEDMM_BUFSIZE 256 +/* Always USB-serial, 1ms is plenty. */ +#define SERIAL_WRITE_TIMEOUT_MS 1 + /* Supported models */ enum { FLUKE_187 = 1, FLUKE_189, FLUKE_287, FLUKE_190, + FLUKE_289, }; /* Supported device profiles */ @@ -48,9 +52,6 @@ struct dev_context { uint64_t limit_samples; uint64_t limit_msec; - /* Opaque pointer passed in by the frontend. */ - void *cb_data; - /* Runtime. */ uint64_t num_samples; char buf[FLUKEDMM_BUFSIZE];