X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fbrymen-dmm%2Fprotocol.h;h=d5090ee63b3783524d378ce8b523a68fd0c708a7;hb=efad7cccec8ab00043939b36de950ba2ced15f85;hp=be26cb965dc628a2b3dcd64cd5bd4d7080becc72;hpb=dcba0c41f5345a4c5316128aac44732625faff6e;p=libsigrok.git diff --git a/src/hardware/brymen-dmm/protocol.h b/src/hardware/brymen-dmm/protocol.h index be26cb96..d5090ee6 100644 --- a/src/hardware/brymen-dmm/protocol.h +++ b/src/hardware/brymen-dmm/protocol.h @@ -38,7 +38,6 @@ enum packet_len_status { PACKET_INVALID_HEADER, }; -/** Private, per-device-instance driver context. */ struct dev_context { struct sr_sw_limits sw_limits; @@ -64,7 +63,7 @@ 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 brymen_parse(const uint8_t *buf, float *floatval, - struct sr_datafeed_analog_old *analog, void *info); + 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,