X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fdmm%2Fvc870.c;h=a2b2b72a69d52da109c3bf8d61082da1ff3b08b6;hb=d9251a2c9f1ca4380c27240ccca90c9f9ed46d3f;hp=43be935e3bdebaff92777a04f550607784e3d936;hpb=2ecc745ccb837fd990f3ef83e4aca74cffa948cc;p=libsigrok.git diff --git a/src/dmm/vc870.c b/src/dmm/vc870.c index 43be935e..a2b2b72a 100644 --- a/src/dmm/vc870.c +++ b/src/dmm/vc870.c @@ -167,7 +167,7 @@ static int parse_range(uint8_t b, float *floatval, int *exponent, static void parse_flags(const uint8_t *buf, struct vc870_info *info) { - /* Bytes 0/1: Function / function select */ + /* Bytes 0/1: Function / function select */ /* Note: Some of these mappings are fixed up later. */ switch (buf[0]) { case 0x30: /* DCV / ACV */ @@ -429,7 +429,7 @@ SR_PRIV int sr_vc870_parse(const uint8_t *buf, float *floatval, handle_flags(analog, floatval, info_local); - analog->encoding->digits = -exponent; + analog->encoding->digits = -exponent; analog->spec->spec_digits = -exponent; return SR_OK;