Changeset 7f9d97f3 in mainline for uspace/lib/usbdev/src/hub.c
- Timestamp:
- 2015-03-14T21:48:01Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 270bf4f
- Parents:
- c0c38c7c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/src/hub.c
rc0c38c7c r7f9d97f3 229 229 * above might use much of this time so we should only wait to fill 230 230 * up the 100ms quota*/ 231 const suseconds_t elapsed = tv_sub (&end_time, &start_time);231 const suseconds_t elapsed = tv_sub_diff(&end_time, &start_time); 232 232 if (elapsed < 100000) { 233 233 async_usleep(100000 - elapsed);
Note:
See TracChangeset
for help on using the changeset viewer.