Changeset c7137738 in mainline for uspace/lib/usb/hcd.c
- Timestamp:
- 2010-11-15T14:52:43Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3f0a7971
- Parents:
- 7494fb4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/hcd.c
r7494fb4 rc7137738 58 58 #define NAMESPACE "usb" 59 59 60 /** String representation for USB transfer type. */61 const char * usb_str_transfer_type(usb_transfer_type_t t)62 {63 switch (t) {64 case USB_TRANSFER_ISOCHRONOUS:65 return "isochronous";66 case USB_TRANSFER_INTERRUPT:67 return "interrupt";68 case USB_TRANSFER_CONTROL:69 return "control";70 case USB_TRANSFER_BULK:71 return "bulk";72 default:73 return "unknown";74 }75 }76 60 77 61 /** String representation of USB transaction outcome. */
Note:
See TracChangeset
for help on using the changeset viewer.