Changeset bbd09694 in mainline
- Timestamp:
- 2011-11-04T19:04:58Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3238506
- Parents:
- 6b6fc232
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/src/usb_device_manager.c
r6b6fc232 rbbd09694 80 80 instance->devices[i].speed = USB_SPEED_MAX; 81 81 } 82 instance->last_address = 0;82 instance->last_address = 1; 83 83 instance->max_speed = max_speed; 84 84 fibril_mutex_initialize(&instance->guard); … … 118 118 assert(instance->devices[*address].occupied == false); 119 119 assert(instance->devices[*address].handle == 0); 120 assert(*address != USB_ADDRESS_DEFAULT || strict); 120 121 121 122 instance->devices[*address].occupied = true;
Note:
See TracChangeset
for help on using the changeset viewer.