X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=hardware%2Fbrymen-dmm%2Fprotocol.h;h=7c9aaae6cd0710b8c3f3d41823eeb159243eeb5a;hp=1270ecb60a7f2ae20c8e0e7372b1701d4e32ce9e;hb=43cd4637285833706f8a404ca027bcf0ee75b9ae;hpb=8162cad7e0727fc31d797afacfed4c23dd97aca0 diff --git a/hardware/brymen-dmm/protocol.h b/hardware/brymen-dmm/protocol.h index 1270ecb6..7c9aaae6 100644 --- a/hardware/brymen-dmm/protocol.h +++ b/hardware/brymen-dmm/protocol.h @@ -76,13 +76,13 @@ SR_PRIV int brymen_packet_request(struct sr_serial_dev_inst *serial); SR_PRIV int brymen_packet_length(const uint8_t *buf, int *len); SR_PRIV gboolean brymen_packet_is_valid(const uint8_t *buf); -SR_PRIV int sr_brymen_parse(const uint8_t *buf, float *floatval, - struct sr_datafeed_analog *analog, void *info); +SR_PRIV int brymen_parse(const uint8_t *buf, float *floatval, + struct sr_datafeed_analog *analog, void *info); SR_PRIV int brymen_stream_detect(struct sr_serial_dev_inst *serial, uint8_t *buf, size_t *buflen, packet_length_t get_packet_size, - packet_valid_t is_valid, + packet_valid_callback is_valid, uint64_t timeout_ms, int baudrate); #endif