diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-03-26 17:52:06 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-03-26 17:52:06 +0000 |
commit | 87f624cb9d7f647560fa4249a8d22d04846c0748 (patch) | |
tree | c9cbdd3d57c383e3aa2d73af2e8708cba59e0ed9 /nuttx/drivers/usbhost/usbhost_findclass.c | |
parent | bb7c3ee83d66d1f9cc5d2dc984b824d4db18e56c (diff) | |
download | px4-nuttx-87f624cb9d7f647560fa4249a8d22d04846c0748.tar.gz px4-nuttx-87f624cb9d7f647560fa4249a8d22d04846c0748.tar.bz2 px4-nuttx-87f624cb9d7f647560fa4249a8d22d04846c0748.zip |
RTL bug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3421 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/usbhost/usbhost_findclass.c')
-rw-r--r-- | nuttx/drivers/usbhost/usbhost_findclass.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/nuttx/drivers/usbhost/usbhost_findclass.c b/nuttx/drivers/usbhost/usbhost_findclass.c index d4438d814..f08aff580 100644 --- a/nuttx/drivers/usbhost/usbhost_findclass.c +++ b/nuttx/drivers/usbhost/usbhost_findclass.c @@ -87,8 +87,9 @@ static bool usbhost_idmatch(const struct usbhost_id_s *classid, const struct usbhost_id_s *devid) { - uvdbg("Compare to class:%d subclass:%d protocol:%d\n", - classid->base, classid->subclass, classid->proto); + uvdbg("Compare to class:%d subclass:%d protocol:%d vid:%04x pid:%04x\n", + classid->base, classid->subclass, classid->proto, + classid->vid, classid->pid); /* The base class ID, subclass and protocol have to match up in any event */ @@ -156,8 +157,8 @@ const struct usbhost_registry_s *usbhost_findclass(const struct usbhost_id_s *id int ndx; DEBUGASSERT(id); - uvdbg("Looking for class:%d subclass:%d protocol:%d\n", - id->base, id->subclass, id->proto); + uvdbg("Looking for class:%d subclass:%d protocol:%d vid:%04x pid:%04x\n", + id->base, id->subclass, id->proto, id->vid, id->pid); /* g_classregistry is a singly-linkedlist of class ID information added by * calls to usbhost_registerclass(). Since this list is accessed from USB |