remove some debug..

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14543 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Christian Gmeiner 2007-08-30 19:55:36 +00:00
parent 4f8818241b
commit 649734f5fc
3 changed files with 1 additions and 10 deletions

View file

@ -385,7 +385,6 @@ static void setup_received_int(struct usb_ctrlrequest* request)
static void port_change_int(void)
{
//logf("port_change_int");
uint32_t tmp;
enum usb_device_speed speed = USB_SPEED_UNKNOWN;
@ -430,7 +429,6 @@ static void port_change_int(void)
static void suspend_int(void)
{
//logf("suspend_int");
dcd_controller.resume_state = dcd_controller.usb_state;
dcd_controller.usb_state = USB_STATE_SUSPENDED;
@ -443,7 +441,6 @@ static void suspend_int(void)
static void resume_int(void)
{
//logf("resume_int");
dcd_controller.usb_state = dcd_controller.resume_state;
dcd_controller.resume_state = USB_STATE_NOTATTACHED;
@ -745,9 +742,6 @@ int usb_arcotg_dcd_send(struct usb_ep* ep, struct usb_response* res)
index = ep->pipe_num;
}
logf("buff: %x", res->buf);
logf("len: %d", res->length);
ptr = res->buf;
size = res->length;

View file

@ -35,10 +35,9 @@ static int usb_descriptor_fillbuf(void* buf, unsigned buflen, struct usb_descrip
for (; 0 != *src; src++) {
unsigned len = (*src)->bLength;
logf("len: %d", len);
if (len > buflen)
return -EINVAL;
memcpy(dest, *src, len);
buflen -= len;
dest += len;

View file

@ -166,9 +166,7 @@ static int ep_matches(struct usb_ep* ep, struct usb_endpoint_descriptor* desc)
/* MATCH!! */
/* set address of used ep in desc */
logf("ep address %x", desc->bEndpointAddress);
desc->bEndpointAddress |= ep->ep_num;
ep->desc = desc;
return 1;