[PS2] Bad UsbSynchEndpointFrame macro

Create a single thread for each patch to be added to the repository. Please try to stay on topic.
Post Reply
Mega Man
Posts: 260
Joined: Sat Jun 18, 2005 3:14 am
Contact:

[PS2] Bad UsbSynchEndpointFrame macro

Post by Mega Man »

Code: Select all

Index: iop/usb/usbd/include/usbd_macro.h 
=================================================================== 
--- iop/usb/usbd/include/usbd_macro.h   (Revision 1588) 
+++ iop/usb/usbd/include/usbd_macro.h   (Arbeitskopie) 
@@ -134,7 +134,7 @@ 
    &#40;&#40;type&#41; << 8&#41; | &#40;index&#41;, &#40;language&#41;, &#40;len&#41;, &#40;dataptr&#41;, &#40;doneCB&#41;, &#40;arg&#41;&#41; 
  
 #define UsbSynchEndpointFrame&#40;epID, endpoint, pfn, doneCB, arg&#41;   \ 
-   UsbControlTransfer&#40;&#40;pid&#41;, USB_DIR_IN | USB_RECIP_ENDPOINT, USB_REQ_SYNCH_FRAME, \ 
+   UsbControlTransfer&#40;&#40;epID&#41;, USB_DIR_IN | USB_RECIP_ENDPOINT, USB_REQ_SYNCH_FRAME, \ 
    0, &#40;endpoint&#41;, 2, &#40;pfn&#41;, &#40;doneCB&#41;, &#40;arg&#41;&#41; 
  
 #endif
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

Fixed in 1600, thanks
Post Reply