Windows: UsbDk: Fix spelling of InterruptTransferType enum
authorChris Dickens <christopher.a.dickens@gmail.com>
Fri, 5 Jan 2018 23:16:19 +0000 (15:16 -0800)
committerChris Dickens <christopher.a.dickens@gmail.com>
Sun, 7 Jan 2018 05:18:13 +0000 (21:18 -0800)
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb/os/windows_usbdk.c
libusb/os/windows_usbdk.h
libusb/version_nano.h

index f3ace33..aaac437 100644 (file)
@@ -612,7 +612,7 @@ static int usbdk_do_bulk_transfer(struct usbi_transfer *itransfer)
                transfer_priv->request.TransferType = BulkTransferType;
                break;
        case LIBUSB_TRANSFER_TYPE_INTERRUPT:
-               transfer_priv->request.TransferType = IntertuptTransferType;
+               transfer_priv->request.TransferType = InterruptTransferType;
                break;
        default:
                usbi_err(ctx, "Wrong transfer type (%d) in usbdk_do_bulk_transfer. %s", transfer->type, windows_error_str(0));
index 04a9787..e6eca8b 100644 (file)
@@ -90,7 +90,7 @@ typedef enum {
 typedef enum {
        ControlTransferType,
        BulkTransferType,
-       IntertuptTransferType,
+       InterruptTransferType,
        IsochronousTransferType
 } USB_DK_TRANSFER_TYPE;
 
index 371855b..c02f694 100644 (file)
@@ -1 +1 @@
-#define LIBUSB_NANO 11265
+#define LIBUSB_NANO 11266