Changeset 0a12879 in mainline
- Timestamp:
- 2012-12-21T11:56:20Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2b0929e
- Parents:
- daf59d1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/src/ddf_helpers.c
rdaf59d1 r0a12879 127 127 devman_handle_t hc_handle = ddf_fun_get_handle(hc_dev->hc_fun); 128 128 129 char default_name[8]; /* usbxyzs */ 130 if (!name) { 131 snprintf(default_name, sizeof(default_name) - 1, 132 "usb%u%c", address, usb_str_speed(speed)[0]); 133 name = default_name; 134 } 135 129 136 //TODO more checks 130 137 ddf_fun_t *fun = ddf_fun_create(parent, fun_inner, name);
Note:
See TracChangeset
for help on using the changeset viewer.