Browse Source
Update usb.c
To allow future MTP_SERIAL implementations and facilitate use of MTP_t4, that provides possibility of MTP_SERIAL
main
WMXZ-EU
4 years ago
No account linked to committer's email address
1 changed files with
1 additions and
1 deletions
-
teensy4/usb.c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
uint32_t usb_transfer_status(const transfer_t *transfer) |
|
|
uint32_t usb_transfer_status(const transfer_t *transfer) |
|
|
{ |
|
|
{ |
|
|
#ifdef USB_MTPDISK |
|
|
|
|
|
|
|
|
#if defined(USB_MTPDISK) || defined(USB_MTPDISK_SERIAL) |
|
|
uint32_t status, cmd; |
|
|
uint32_t status, cmd; |
|
|
//int count=0; |
|
|
//int count=0; |
|
|
cmd = USB1_USBCMD; |
|
|
cmd = USB1_USBCMD; |