From b11c1b148cee7185240f206f1b49d79c520475a5 Mon Sep 17 00:00:00 2001 From: gtament Date: Wed, 6 Aug 2014 16:44:39 +0000 Subject: [PATCH] Fixed endpoints' numbers typo git-svn-id: svn://kolibrios.org@5020 a494cfbc-eb01-0410-851d-a64ba20cac60 --- drivers/usb/usbftdi/usbftdi.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/usbftdi/usbftdi.asm b/drivers/usb/usbftdi/usbftdi.asm index 97f00639ea..5a995d0158 100644 --- a/drivers/usb/usbftdi/usbftdi.asm +++ b/drivers/usb/usbftdi/usbftdi.asm @@ -251,11 +251,11 @@ proc AddDevice stdcall uses ebx esi edi, .config_pipe:DWORD, .config_descr:DWORD stdcall USBOpenPipe, [.config_pipe], 0x81, [ebx + ftdi_context.maxPacketSize], BULK_PIPE, 0 test eax, eax jz .nothing - mov [ebx + ftdi_context.inEP], eax + mov [ebx + ftdi_context.outEP], eax stdcall USBOpenPipe, [.config_pipe], 0x02, [ebx + ftdi_context.maxPacketSize], BULK_PIPE, 0 test eax, eax jz .nothing - mov [ebx + ftdi_context.outEP], eax + mov [ebx + ftdi_context.inEP], eax mov eax, ebx ret