Rev 5019 | Rev 5023 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5019 | Rev 5020 | ||
---|---|---|---|
Line 249... | Line 249... | ||
249 | .slow: |
249 | .slow: |
250 | mov ebx, eax |
250 | mov ebx, eax |
251 | stdcall USBOpenPipe, [.config_pipe], 0x81, [ebx + ftdi_context.maxPacketSize], BULK_PIPE, 0 |
251 | stdcall USBOpenPipe, [.config_pipe], 0x81, [ebx + ftdi_context.maxPacketSize], BULK_PIPE, 0 |
252 | test eax, eax |
252 | test eax, eax |
253 | jz .nothing |
253 | jz .nothing |
254 | mov [ebx + ftdi_context.inEP], eax |
254 | mov [ebx + ftdi_context.outEP], eax |
255 | stdcall USBOpenPipe, [.config_pipe], 0x02, [ebx + ftdi_context.maxPacketSize], BULK_PIPE, 0 |
255 | stdcall USBOpenPipe, [.config_pipe], 0x02, [ebx + ftdi_context.maxPacketSize], BULK_PIPE, 0 |
256 | test eax, eax |
256 | test eax, eax |
257 | jz .nothing |
257 | jz .nothing |
258 | mov [ebx + ftdi_context.outEP], eax |
258 | mov [ebx + ftdi_context.inEP], eax |
259 | mov eax, ebx |
259 | mov eax, ebx |
260 | ret |
260 | ret |
Line 261... | Line 261... | ||
261 | 261 | ||
262 | .notftdi: |
262 | .notftdi: |