From: Alexandru Gagniuc Date: Fri, 30 Nov 2012 19:15:44 +0000 (-0600) Subject: metex14: Parse microamp (uA) values. X-Git-Tag: dsupstream~510 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=2477fb95693aeeeab04323618ba18b1ebdbc3eb2;p=libsigrok.git metex14: Parse microamp (uA) values. Signed-off-by: Alexandru Gagniuc --- diff --git a/hardware/common/dmm/metex14.c b/hardware/common/dmm/metex14.c index 7afae5f9..b15ac4f0 100644 --- a/hardware/common/dmm/metex14.c +++ b/hardware/common/dmm/metex14.c @@ -139,6 +139,8 @@ static void parse_flags(const char *buf, struct metex14_info *info) info->is_ampere = TRUE; else if (!strncmp(buf + 9, " mA", 4)) info->is_milli = info->is_ampere = TRUE; + else if (!strncmp(buf + 9, " uA", 4)) + info->is_micro = info->is_ampere = TRUE; else if (!strncmp(buf + 9, " V", 4)) info->is_volt = TRUE; else if (!strncmp(buf + 9, " mV", 4))