dmm/eev121gw: visibility nits (single display parse routine)
The EEVBlog 121GW meter support always registers the three-displays parse routine with the serial-dmm device driver. The single-display routine need not be public. Adjust the visibility. Reduce indentation for a continued line in a nearby declaration while we are here.
This commit is contained in:
parent
08ecb98e84
commit
8556703a6c
|
@ -691,7 +691,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;
|
||||
|
|
|
@ -1732,10 +1732,8 @@ struct eev121gw_info {
|
|||
|
||||
extern SR_PRIV const char *eev121gw_channel_formats[];
|
||||
SR_PRIV gboolean sr_eev121gw_packet_valid(const uint8_t *buf);
|
||||
SR_PRIV int sr_eev121gw_parse(const uint8_t *buf, float *floatval,
|
||||
struct sr_datafeed_analog *analog, void *info);
|
||||
SR_PRIV int sr_eev121gw_3displays_parse(const uint8_t *buf, float *floatval,
|
||||
struct sr_datafeed_analog *analog, void *info);
|
||||
struct sr_datafeed_analog *analog, void *info);
|
||||
|
||||
/*--- scale/kern.c ----------------------------------------------------------*/
|
||||
|
||||
|
|
Loading…
Reference in New Issue