aboutsummaryrefslogtreecommitdiffstats
path: root/usbdrv
diff options
context:
space:
mode:
authorChristian Starkjohann <cs+github@obdev.at>2009-03-16 19:03:19 +0000
committerChristian Starkjohann <cs+github@obdev.at>2009-03-16 19:03:19 +0000
commitac40a9b5aa66c3a450579d5d203b3aded297fa20 (patch)
treeba29fb5e3f40afe8355316612597ab8a54f24190 /usbdrv
parent9a343b5cb3065e944592c7e56a7c498db252767e (diff)
downloadv-usb-ac40a9b5aa66c3a450579d5d203b3aded297fa20.tar.gz
v-usb-ac40a9b5aa66c3a450579d5d203b3aded297fa20.tar.bz2
v-usb-ac40a9b5aa66c3a450579d5d203b3aded297fa20.zip
- debug print CRC as well, not just message.
Diffstat (limited to 'usbdrv')
-rw-r--r--usbdrv/usbdrv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usbdrv/usbdrv.c b/usbdrv/usbdrv.c
index d774a5f..35e084b 100644
--- a/usbdrv/usbdrv.c
+++ b/usbdrv/usbdrv.c
@@ -428,7 +428,7 @@ usbRequest_t *rq = (void *)data;
* 0xe1 11100001 (USBPID_OUT: data phase of setup transfer)
* 0...0x0f for OUT on endpoint X
*/
- DBG2(0x10 + (usbRxToken & 0xf), data, len); /* SETUP=1d, SETUP-DATA=11, OUTx=1x */
+ DBG2(0x10 + (usbRxToken & 0xf), data, len + 2); /* SETUP=1d, SETUP-DATA=11, OUTx=1x */
USB_RX_USER_HOOK(data, len)
#if USB_CFG_IMPLEMENT_FN_WRITEOUT
if(usbRxToken < 0x10){ /* OUT to endpoint != 0: endpoint number in usbRxToken */