#include "command.h"
static const struct fx2lafw_profile supported_fx2[] = {
- /*
- * CWAV USBee DX
- * XZL Studio DX
- */
- { 0x08a9, 0x0015, "CWAV", "USBee DX", NULL,
- FIRMWARE_DIR "/fx2lafw-cwav-usbeedx.fw",
- 0 },
/*
* CWAV USBee AX
* EE Electronics ESLA201A
{ 0x08a9, 0x0014, "CWAV", "USBee AX", NULL,
FIRMWARE_DIR "/fx2lafw-cwav-usbeeax.fw",
0 },
+ /*
+ * CWAV USBee DX
+ * XZL-Studio DX
+ */
+ { 0x08a9, 0x0015, "CWAV", "USBee DX", NULL,
+ FIRMWARE_DIR "/fx2lafw-cwav-usbeedx.fw",
+ DEV_CAPS_16BIT },
/*
* CWAV USBee SX
* API callbacks
*/
-static int hw_init(const char *devinfo)
+static int hw_init(void)
{
struct sr_dev_inst *sdi;
struct libusb_device_descriptor des;
int devcnt = 0;
int i, j;
- /* Avoid compiler warnings. */
- (void)devinfo;
-
if (libusb_init(&usb_context) != 0) {
sr_warn("fx2lafw: Failed to initialize libusb.");
return 0;