X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fkingst-la2016%2Fprotocol.h;h=061168e2f826c0a128948834e57a682e5b78aa99;hb=40a0b2f4667d9ca13c83821a16997a2264f6a2a7;hp=e7ad010e073af0387569c28518de2c5c895210f0;hpb=f2cd2debf9dcbf0e83ec70d8ea41d8421a400dfd;p=libsigrok.git diff --git a/src/hardware/kingst-la2016/protocol.h b/src/hardware/kingst-la2016/protocol.h index e7ad010e..061168e2 100644 --- a/src/hardware/kingst-la2016/protocol.h +++ b/src/hardware/kingst-la2016/protocol.h @@ -35,6 +35,7 @@ #define LA2016_VID 0x77a1 #define LA2016_PID 0x01a2 #define USB_INTERFACE 0 +#define USB_CONFIGURATION 1 #define LA2016_BULK_MAX 8388608 @@ -103,6 +104,8 @@ struct dev_context { uint16_t cur_channels; int num_channels; + uint32_t bitstream_size; + /* derived stuff */ uint64_t pre_trigger_size;