File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ class USBDevice_SAMD21G18x {
106106 inline void epBank0EnableStalled (ep_t ep) { usb.DeviceEndpoint [ep].EPINTENSET .bit .STALL0 = 1 ; }
107107 inline void epBank1EnableStalled (ep_t ep) { usb.DeviceEndpoint [ep].EPINTENSET .bit .STALL1 = 1 ; }
108108 inline void epBank0EnableTransferComplete (ep_t ep) { usb.DeviceEndpoint [ep].EPINTENSET .bit .TRCPT0 = 1 ; }
109- inline void epBank1EnableTransferComplete (ep_t ep) { usb.DeviceEndpoint [ep].EPINTENSET .bit .TRCPT0 = 1 ; }
109+ inline void epBank1EnableTransferComplete (ep_t ep) { usb.DeviceEndpoint [ep].EPINTENSET .bit .TRCPT1 = 1 ; }
110110
111111 inline void epBank0DisableSetupReceived (ep_t ep) { usb.DeviceEndpoint [ep].EPINTENCLR .bit .RXSTP = 1 ; }
112112 inline void epBank0DisableStalled (ep_t ep) { usb.DeviceEndpoint [ep].EPINTENCLR .bit .STALL0 = 1 ; }
You can’t perform that action at this time.
0 commit comments