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:
Uwe Hermann 2016-03-04 09:37:16 +01:00
parent b84f91ff2e
commit ba4dfbde11
3 changed files with 3 additions and 1 deletions

View File

@ -56,6 +56,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_dev_driver *di, struct sr_context *sr_ctx)

View File

@ -33,6 +33,7 @@ enum {
FLUKE_189,
FLUKE_287,
FLUKE_190,
FLUKE_289,
};
/* Supported device profiles */

View File

@ -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) {
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) {