Changeset 1c258d1 in mainline
- Timestamp:
- 2011-04-09T23:59:36Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c19329a, d824daf
- Parents:
- 46e078a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/hub.c
r46e078a r1c258d1 41 41 #include <assert.h> 42 42 #include <usb/debug.h> 43 44 /** How much time to wait between attempts to register endpoint 0:0. 45 * The value is based on typical value for port reset + some overhead. 46 */ 47 #define ENDPOINT_0_0_REGISTER_ATTEMPT_DELAY_USEC (1000 * (10 + 2)) 43 48 44 49 /** Check that HC connection is alright. … … 232 237 if (rc != EOK) { 233 238 /* Do not overheat the CPU ;-). */ 234 async_usleep( 10);239 async_usleep(ENDPOINT_0_0_REGISTER_ATTEMPT_DELAY_USEC); 235 240 } 236 241 } while (rc != EOK);
Note:
See TracChangeset
for help on using the changeset viewer.