usbutils set Black Arrow Lancelot's as BAL and match the lot->llt name
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
diff --git a/usbutils.c b/usbutils.c
index 916c65a..b5981f7 100644
--- a/usbutils.c
+++ b/usbutils.c
@@ -105,7 +105,7 @@ static struct usb_endpoints amu_eps[] = {
{ LIBUSB_TRANSFER_TYPE_BULK, 64, EPI(1), 0 },
{ LIBUSB_TRANSFER_TYPE_BULK, 64, EPO(1), 0 }
};
-static struct usb_endpoints lot_eps[] = {
+static struct usb_endpoints llt_eps[] = {
{ LIBUSB_TRANSFER_TYPE_BULK, 64, EPI(1), 0 },
{ LIBUSB_TRANSFER_TYPE_BULK, 64, EPO(2), 0 }
};
@@ -198,7 +198,7 @@ static struct usb_find_devices find_dev[] = {
.eps = amu_eps },
{
.drv = DRV_ICARUS,
- .name = "BAT",
+ .name = "BAL",
.idVendor = 0x0403,
.idProduct = 0x6001,
.iProduct = "FT232R USB UART",
@@ -206,9 +206,9 @@ static struct usb_find_devices find_dev[] = {
.config = 1,
.interface = 0,
.timeout = ICARUS_TIMEOUT_MS,
- .epcount = ARRAY_SIZE(lot_eps),
- .eps = lot_eps },
- // For any that don't match the above "BAT"
+ .epcount = ARRAY_SIZE(llt_eps),
+ .eps = llt_eps },
+ // For any that don't match the above "BAL"
{
.drv = DRV_ICARUS,
.name = "LLT",
@@ -218,8 +218,8 @@ static struct usb_find_devices find_dev[] = {
.config = 1,
.interface = 0,
.timeout = ICARUS_TIMEOUT_MS,
- .epcount = ARRAY_SIZE(lot_eps),
- .eps = lot_eps },
+ .epcount = ARRAY_SIZE(llt_eps),
+ .eps = llt_eps },
{
.drv = DRV_ICARUS,
.name = "CMR",