]> sigrok.org Git - libsigrok.git/commitdiff
common/dmm: Drop obsolete *is_packet_start() functions.
authorUwe Hermann <redacted>
Fri, 26 Apr 2013 17:56:02 +0000 (19:56 +0200)
committerUwe Hermann <redacted>
Fri, 26 Apr 2013 18:05:44 +0000 (20:05 +0200)
hardware/common/dmm/fs9721.c
libsigrok-internal.h

index 41b08f713e7bb0bc133f3743c6f9f7be312bc2e0..6a55c716da69cecd0c7c04554f4f57fcf7b8b4b3 100644 (file)
@@ -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_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)
 {
        struct fs9721_info info;
index b16b29a0abc18b2f6b378f0c8813464fd0cb60bd..6e1cac2d969ee9739d0b1e76b6dc62be20c6942e 100644 (file)
@@ -210,7 +210,6 @@ struct fs9922_info {
        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 int sr_fs9922_parse(const uint8_t *buf, float *floatval,
                            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;
 };
 
-SR_PRIV gboolean sr_fs9721_is_packet_start(uint8_t b);
 SR_PRIV gboolean sr_fs9721_packet_valid(const uint8_t *buf);
 SR_PRIV int sr_fs9721_parse(const uint8_t *buf, float *floatval,
                            struct sr_datafeed_analog *analog, void *info);