X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fsysclk-lwla%2Flwla.h;h=7d95f9c1f447e33f932a18fa3dda36a95c9d8357;hb=407b6e2cff817c6b05f1f038e2fecd94ad11fa86;hp=f0f280fa10422a42cdc0b2e4e230ea154b1166ba;hpb=7ed808179f5542c903a476266c4b175a6f2a18a7;p=libsigrok.git diff --git a/src/hardware/sysclk-lwla/lwla.h b/src/hardware/sysclk-lwla/lwla.h index f0f280fa..7d95f9c1 100644 --- a/src/hardware/sysclk-lwla/lwla.h +++ b/src/hardware/sysclk-lwla/lwla.h @@ -69,14 +69,6 @@ struct sr_usb_dev_inst; */ #define PACKET_SIZE (5000 * 4 * 5) -/** USB device end points. - */ -enum usb_endpoint { - EP_COMMAND = 2, - EP_CONFIG = 4, - EP_REPLY = 6 | LIBUSB_ENDPOINT_IN -}; - /** LWLA protocol command ID codes. */ enum command_id { @@ -91,7 +83,7 @@ enum command_id { /** LWLA capture state flags. * The bit positions are the same as in the LWLA1016 control register. */ -enum { +enum status_flag { STATUS_CAPTURING = 1 << 2, STATUS_TRIGGERED = 1 << 5, STATUS_MEM_AVAIL = 1 << 6,