X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=src%2Fhardware%2Fkingst-la2016%2Fprotocol.h;h=2f28d57bc52ed9712b26d58715df2617b55ecc29;hp=bbb44c336a8edcf7541b392aa47fa3d3a665b7ba;hb=ffcf1e455d51c1a96a67193edc8a7ad0a4d44b81;hpb=796ce0bfb5db51da2c43f58bc1c705b5d6a5658e diff --git a/src/hardware/kingst-la2016/protocol.h b/src/hardware/kingst-la2016/protocol.h index bbb44c33..2f28d57b 100644 --- a/src/hardware/kingst-la2016/protocol.h +++ b/src/hardware/kingst-la2016/protocol.h @@ -45,8 +45,8 @@ * but libusb does not expose this function. Typically, max size is 2MB. */ #define LA2016_EP6_PKTSZ 512 /* Max packet size of USB endpoint 6. */ -#define LA2016_USB_BUFSZ (256 * 2 * LA2016_EP6_PKTSZ) /* 256KiB buffer. */ -#define LA2016_USB_XFER_COUNT 32 /* Size of USB bulk transfers pool. */ +#define LA2016_USB_BUFSZ (512 * 1024) /* 512KiB buffer. */ +#define LA2016_USB_XFER_COUNT 8 /* Size of USB bulk transfers pool. */ /* USB communication timeout during regular operation. */ #define DEFAULT_TIMEOUT_MS 200