metex14: Parse microamp (uA) values.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
This commit is contained in:
Alexandru Gagniuc 2012-11-30 13:15:44 -06:00 committed by Uwe Hermann
parent 3ebc9b59a2
commit 2477fb9569
1 changed files with 2 additions and 0 deletions

View File

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