/* Maximum length of a register read/write sequence.
*/
-#define MAX_REG_SEQ_LEN 16
+#define MAX_REG_SEQ_LEN 8
/* Logic datafeed packet size in bytes.
* This is a multiple of both 4 and 5 to match any model's unit size
const uint16_t *command, int cmd_len);
SR_PRIV int lwla_receive_reply(const struct sr_usb_dev_inst *usb,
- uint32_t *reply, int reply_len, int expect_len);
+ void *reply, int buf_size, int *xfer_len);
SR_PRIV int lwla_read_reg(const struct sr_usb_dev_inst *usb,
uint16_t reg, uint32_t *value);