Changeset 2720b51a in mainline
- Timestamp:
- 2011-05-13T18:32:23Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7eecbb8b
- Parents:
- f64e81a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/lsusb/main.c
rf64e81a r2720b51a 49 49 #define NAME "lsusb" 50 50 51 #define MAX_USB_ADDRESS USB11_ADDRESS_MAX 51 52 #define MAX_FAILED_ATTEMPTS 10 52 53 #define MAX_PATH_LENGTH 1024 … … 76 77 } 77 78 usb_address_t addr; 78 for (addr = 1; addr < 5; addr++) {79 for (addr = 1; addr < MAX_USB_ADDRESS; addr++) { 79 80 devman_handle_t dev_handle; 80 81 rc = usb_hc_get_handle_by_address(&conn, addr, &dev_handle);
Note:
See TracChangeset
for help on using the changeset viewer.