X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fdmm%2Feev121gw.c;h=7dfba8d0dfbec0078857600718b6fa4c8a3f8d11;hb=ab3e9c8af67b5919dd7cfb3119081bfd5858cc81;hp=b56647f53caf88294021c3c5aa431264263e7e32;hpb=0be955d23d18ce664659d8c707e2d77d0dfd783f;p=libsigrok.git diff --git a/src/dmm/eev121gw.c b/src/dmm/eev121gw.c index b56647f5..7dfba8d0 100644 --- a/src/dmm/eev121gw.c +++ b/src/dmm/eev121gw.c @@ -22,8 +22,6 @@ * * EEVblog 121GW 19-bytes binary protocol parser. * - * @internal - * * Note that this protocol is different from other meters. We need not * decode the LCD presentation (segments a-g and dot of seven segment * displays). Neither need we decode a textual presentation consisting @@ -691,7 +689,7 @@ SR_PRIV gboolean sr_eev121gw_packet_valid(const uint8_t *buf) * @return SR_OK upon success, SR_ERR upon failure. Upon errors, the * 'analog' variable contents are undefined and should not be used. */ -SR_PRIV int sr_eev121gw_parse(const uint8_t *buf, float *floatval, +static int sr_eev121gw_parse(const uint8_t *buf, float *floatval, struct sr_datafeed_analog *analog, void *info) { struct eev121gw_info *info_local; @@ -1027,7 +1025,7 @@ SR_PRIV int sr_eev121gw_parse(const uint8_t *buf, float *floatval, /* * Get those fields which correspond to the secondary * display. The value's mantissa has 16 bits. The sign - * is separate is only applies to some of the modes. + * is separate and only applies to some of the modes. * Scaling and precision also depend on the mode. The * interpretation of the secondary display is different * from the main display: The 'range' is not an index