metex14: Parse microamp (uA) values.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
This commit is contained in:
parent
3ebc9b59a2
commit
2477fb9569
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue