]> sigrok.org Git - libsigrok.git/blobdiff - libsigrok-internal.h
lascar-el-usb: Use std_dev_clear().
[libsigrok.git] / libsigrok-internal.h
index b16b29a0abc18b2f6b378f0c8813464fd0cb60bd..e21aa43de8b3b637b793cafc7421d9c671d0cc4f 100644 (file)
@@ -128,7 +128,7 @@ typedef void (*std_dev_clear_t)(void *priv);
 SR_PRIV int std_hw_init(struct sr_context *sr_ctx, struct sr_dev_driver *di,
                const char *prefix);
 SR_PRIV int std_hw_dev_acquisition_stop_serial(struct sr_dev_inst *sdi,
-               void *cb_data, dev_close_t hw_dev_close_fn,
+               void *cb_data, dev_close_t dev_close_fn,
                struct sr_serial_dev_inst *serial, const char *prefix);
 SR_PRIV int std_session_send_df_header(const struct sr_dev_inst *sdi,
                const char *prefix);
@@ -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,10 +225,13 @@ 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);
+SR_PRIV void sr_fs9721_00_temp_c(struct sr_datafeed_analog *analog, void *info);
+SR_PRIV void sr_fs9721_01_temp_c(struct sr_datafeed_analog *analog, void *info);
+SR_PRIV void sr_fs9721_10_temp_c(struct sr_datafeed_analog *analog, void *info);
+SR_PRIV void sr_fs9721_01_10_temp_f_c(struct sr_datafeed_analog *analog, void *info);
 
 /*--- hardware/common/dmm/metex14.c -----------------------------------------*/