summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Dickens <christopher.a.dickens@gmail.com>2018-01-05 15:16:19 -0800
committerChris Dickens <christopher.a.dickens@gmail.com>2018-01-06 21:18:13 -0800
commit6733f242ae74d97a0fb2cfba6501af14785cd910 (patch)
treee31ba370072ef69796ba78fe5badfe1edd3626f4
parent798969f5c65fb4c14a01b530ad599837b500d6de (diff)
downloadlibusb-6733f242ae74d97a0fb2cfba6501af14785cd910.tar.gz
Windows: UsbDk: Fix spelling of InterruptTransferType enum
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
-rw-r--r--libusb/os/windows_usbdk.c2
-rw-r--r--libusb/os/windows_usbdk.h2
-rw-r--r--libusb/version_nano.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/libusb/os/windows_usbdk.c b/libusb/os/windows_usbdk.c
index f3ace33..aaac437 100644
--- a/libusb/os/windows_usbdk.c
+++ b/libusb/os/windows_usbdk.c
@@ -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));
diff --git a/libusb/os/windows_usbdk.h b/libusb/os/windows_usbdk.h
index 04a9787..e6eca8b 100644
--- a/libusb/os/windows_usbdk.h
+++ b/libusb/os/windows_usbdk.h
@@ -90,7 +90,7 @@ typedef enum {
typedef enum {
ControlTransferType,
BulkTransferType,
- IntertuptTransferType,
+ InterruptTransferType,
IsochronousTransferType
} USB_DK_TRANSFER_TYPE;
diff --git a/libusb/version_nano.h b/libusb/version_nano.h
index 371855b..c02f694 100644
--- a/libusb/version_nano.h
+++ b/libusb/version_nano.h
@@ -1 +1 @@
-#define LIBUSB_NANO 11265
+#define LIBUSB_NANO 11266