USBHost library

Dependencies:   FATFileSystem

Dependents:   x4180_Tank Totaleprogramma Handmatig Totaleprogramma1

Fork of USBHost by mbed official

Revision:
4:b320d68e98e7
Parent:
0:a554658735bf
Child:
5:e48791a1ef18
--- a/USBHostHID/USBHostKeyboard.cpp	Wed Mar 06 17:50:07 2013 +0000
+++ b/USBHostHID/USBHostKeyboard.cpp	Tue Mar 12 17:23:37 2013 +0000
@@ -121,8 +121,8 @@
                 if (!int_in)
                     break;
                 
-                USB_INFO("New Keyboard device: VID:%04x PID:%04x [dev: %p]", dev->getVid(), dev->getPid(), dev);
-                dev->setName("Keyboard");
+                USB_INFO("New Keyboard device: VID:%04x PID:%04x [dev: %p - intf: %d]", dev->getVid(), dev->getPid(), dev, keyboard_intf);
+                dev->setName("Keyboard", keyboard_intf);
                 host->registerDriver(dev, keyboard_intf, this, &USBHostKeyboard::init);
                 
                 int_in->attach(this, &USBHostKeyboard::rxHandler);
@@ -186,4 +186,3 @@
 }
 
 #endif
-