X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fbrymen-dmm%2Fprotocol.h;h=ec839d48495229f1abd71bcc2dc6424919595310;hb=92cd85149a2497e6eecd8f35e43893b905dc2faa;hp=d5090ee63b3783524d378ce8b523a68fd0c708a7;hpb=ca314e060f653e6a0b5ec0f58914bac4d426217f;p=libsigrok.git diff --git a/src/hardware/brymen-dmm/protocol.h b/src/hardware/brymen-dmm/protocol.h index d5090ee6..ec839d48 100644 --- a/src/hardware/brymen-dmm/protocol.h +++ b/src/hardware/brymen-dmm/protocol.h @@ -40,7 +40,6 @@ enum packet_len_status { struct dev_context { struct sr_sw_limits sw_limits; - uint8_t buf[DMM_BUFSIZE]; int bufoffset; int buflen; @@ -66,9 +65,9 @@ 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_callback is_valid, - uint64_t timeout_ms, int baudrate); + uint8_t *buf, size_t *buflen, + packet_length_t get_packet_size, + packet_valid_callback is_valid, + uint64_t timeout_ms, int baudrate); #endif