common/dmm: Drop obsolete *is_packet_start() functions.
This commit is contained in:
parent
913abe8321
commit
7381251e33
|
@ -326,11 +326,6 @@ static void handle_flags(struct sr_datafeed_analog *analog, float *floatval,
|
||||||
sr_spew("User-defined LCD symbol 3 is active.");
|
sr_spew("User-defined LCD symbol 3 is active.");
|
||||||
}
|
}
|
||||||
|
|
||||||
SR_PRIV gboolean sr_fs9721_is_packet_start(uint8_t b)
|
|
||||||
{
|
|
||||||
return (((b >> 4) & 0x0f) == 0x01);
|
|
||||||
}
|
|
||||||
|
|
||||||
SR_PRIV gboolean sr_fs9721_packet_valid(const uint8_t *buf)
|
SR_PRIV gboolean sr_fs9721_packet_valid(const uint8_t *buf)
|
||||||
{
|
{
|
||||||
struct fs9721_info info;
|
struct fs9721_info info;
|
||||||
|
|
|
@ -210,7 +210,6 @@ struct fs9922_info {
|
||||||
int bargraph_sign, bargraph_value;
|
int bargraph_sign, bargraph_value;
|
||||||
};
|
};
|
||||||
|
|
||||||
SR_PRIV gboolean sr_fs9922_is_packet_start(uint8_t b);
|
|
||||||
SR_PRIV gboolean sr_fs9922_packet_valid(const uint8_t *buf);
|
SR_PRIV gboolean sr_fs9922_packet_valid(const uint8_t *buf);
|
||||||
SR_PRIV int sr_fs9922_parse(const uint8_t *buf, float *floatval,
|
SR_PRIV int sr_fs9922_parse(const uint8_t *buf, float *floatval,
|
||||||
struct sr_datafeed_analog *analog, void *info);
|
struct sr_datafeed_analog *analog, void *info);
|
||||||
|
@ -226,7 +225,6 @@ struct fs9721_info {
|
||||||
gboolean is_c2c1_11, is_c2c1_10, is_c2c1_01, is_c2c1_00, is_sign;
|
gboolean is_c2c1_11, is_c2c1_10, is_c2c1_01, is_c2c1_00, is_sign;
|
||||||
};
|
};
|
||||||
|
|
||||||
SR_PRIV gboolean sr_fs9721_is_packet_start(uint8_t b);
|
|
||||||
SR_PRIV gboolean sr_fs9721_packet_valid(const uint8_t *buf);
|
SR_PRIV gboolean sr_fs9721_packet_valid(const uint8_t *buf);
|
||||||
SR_PRIV int sr_fs9721_parse(const uint8_t *buf, float *floatval,
|
SR_PRIV int sr_fs9721_parse(const uint8_t *buf, float *floatval,
|
||||||
struct sr_datafeed_analog *analog, void *info);
|
struct sr_datafeed_analog *analog, void *info);
|
||||||
|
|
Loading…
Reference in New Issue