Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of USBHost by
Diff: USBHostHub/USBHostHub.cpp
- Revision:
- 4:b320d68e98e7
- Parent:
- 0:a554658735bf
- Child:
- 8:93da8ea2708b
diff -r 0f5c32575eb8 -r b320d68e98e7 USBHostHub/USBHostHub.cpp
--- a/USBHostHub/USBHostHub.cpp Wed Mar 06 17:50:07 2013 +0000
+++ b/USBHostHub/USBHostHub.cpp Tue Mar 12 17:23:37 2013 +0000
@@ -102,8 +102,8 @@
return false;
}
- USB_INFO("New HUB: VID:%04x PID:%04x [dev: %p]", dev->getVid(), dev->getPid(), dev);
- dev->setName("Hub");
+ USB_INFO("New HUB: VID:%04x PID:%04x [dev: %p - intf: %d]", dev->getVid(), dev->getPid(), dev, hub_intf);
+ dev->setName("Hub", hub_intf);
host->registerDriver(dev, hub_intf, this, &USBHostHub::disconnect);
int_in->attach(this, &USBHostHub::rxHandler);
@@ -271,5 +271,3 @@
}
#endif
-
-
