From 6733f242ae74d97a0fb2cfba6501af14785cd910 Mon Sep 17 00:00:00 2001 From: Chris Dickens Date: Fri, 5 Jan 2018 15:16:19 -0800 Subject: [PATCH] Windows: UsbDk: Fix spelling of InterruptTransferType enum Signed-off-by: Chris Dickens --- libusb/os/windows_usbdk.c | 2 +- libusb/os/windows_usbdk.h | 2 +- libusb/version_nano.h | 2 +- 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 -- 2.7.4