fluke-dmm: Add support for the Fluke 289.
Thanks to Julien Bresciani <julien.bresciani@free.fr> for providing the information about the required changes!
This commit is contained in:
parent
b84f91ff2e
commit
ba4dfbde11
|
@ -56,6 +56,7 @@ static const struct flukedmm_profile supported_flukedmm[] = {
|
||||||
{ FLUKE_189, "189", 100, 1000 },
|
{ FLUKE_189, "189", 100, 1000 },
|
||||||
{ FLUKE_287, "287", 100, 1000 },
|
{ FLUKE_287, "287", 100, 1000 },
|
||||||
{ FLUKE_190, "199B", 1000, 3500 },
|
{ FLUKE_190, "199B", 1000, 3500 },
|
||||||
|
{ FLUKE_289, "289", 100, 1000 },
|
||||||
};
|
};
|
||||||
|
|
||||||
static int init(struct sr_dev_driver *di, struct sr_context *sr_ctx)
|
static int init(struct sr_dev_driver *di, struct sr_context *sr_ctx)
|
||||||
|
|
|
@ -33,6 +33,7 @@ enum {
|
||||||
FLUKE_189,
|
FLUKE_189,
|
||||||
FLUKE_287,
|
FLUKE_287,
|
||||||
FLUKE_190,
|
FLUKE_190,
|
||||||
|
FLUKE_289,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Supported device profiles */
|
/* Supported device profiles */
|
||||||
|
|
|
@ -433,7 +433,7 @@ static void handle_line(const struct sr_dev_inst *sdi)
|
||||||
if (devc->profile->model == FLUKE_187 || devc->profile->model == FLUKE_189) {
|
if (devc->profile->model == FLUKE_187 || devc->profile->model == FLUKE_189) {
|
||||||
devc->expect_response = FALSE;
|
devc->expect_response = FALSE;
|
||||||
analog = handle_qm_18x(sdi, tokens);
|
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;
|
devc->expect_response = FALSE;
|
||||||
analog = handle_qm_28x(sdi, tokens);
|
analog = handle_qm_28x(sdi, tokens);
|
||||||
} else if (devc->profile->model == FLUKE_190) {
|
} else if (devc->profile->model == FLUKE_190) {
|
||||||
|
|
Loading…
Reference in New Issue