From: Scott Lombard <[email protected]>
---
src/hardware/fluke-dmm/api.c | 1 +
src/hardware/fluke-dmm/fluke-dmm.h | 1 +
src/hardware/fluke-dmm/fluke.c | 4 ++--
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/hardware/fluke-dmm/api.c b/src/hardware/fluke-dmm/api.c
index 3d739a1..1ebe0af 100644
--- a/src/hardware/fluke-dmm/api.c
+++ b/src/hardware/fluke-dmm/api.c
@@ -57,6 +57,7 @@ static const struct flukedmm_profile supported_flukedmm[] = {
{ FLUKE_189, "189", 100, 1000 },
{ FLUKE_287, "287", 100, 1000 },
{ FLUKE_190, "199B", 1000, 3500 },
+ { FLUKE_289, "289", 100, 1000},
};
static int init(struct sr_context *sr_ctx)
diff --git a/src/hardware/fluke-dmm/fluke-dmm.h
b/src/hardware/fluke-dmm/fluke-dmm.h
index d162bdd..104bc55 100644
--- a/src/hardware/fluke-dmm/fluke-dmm.h
+++ b/src/hardware/fluke-dmm/fluke-dmm.h
@@ -30,6 +30,7 @@ enum {
FLUKE_189,
FLUKE_287,
FLUKE_190,
+ FLUKE_289,
};
/* Supported device profiles */
diff --git a/src/hardware/fluke-dmm/fluke.c b/src/hardware/fluke-dmm/fluke.c
index edb6734..154a046 100644
--- a/src/hardware/fluke-dmm/fluke.c
+++ b/src/hardware/fluke-dmm/fluke.c
@@ -417,7 +417,7 @@ static void handle_line(const struct sr_dev_inst *sdi)
struct sr_datafeed_analog *analog;
int num_tokens, n, i;
char cmd[16], **tokens;
-
+
devc = sdi->priv;
serial = sdi->conn;
sr_spew("Received line '%s' (%d).", devc->buf, devc->buflen);
@@ -438,7 +438,7 @@ static void handle_line(const struct sr_dev_inst *sdi)
if (devc->profile->model == FLUKE_187 || devc->profile->model
== FLUKE_189) {
devc->expect_response = FALSE;
analog = handle_qm_18x(sdi, tokens);
- } else if (devc->profile->model == FLUKE_287) {
+ } else if (devc->profile->model == FLUKE_287 ||
devc->profile->model == FLUKE_289 ) {
devc->expect_response = FALSE;
analog = handle_qm_28x(sdi, tokens);
} else if (devc->profile->model == FLUKE_190) {
--
2.1.0.rc1
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel