Changes in uspace/lib/usbhost/src/batch.c [0c224b2:160b75e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/src/batch.c
r0c224b2 r160b75e 109 109 assert(instance); 110 110 assert(instance->ep); 111 assert(instance->next_step);112 111 endpoint_release(instance->ep); 113 112 instance->next_step(instance); … … 129 128 memcpy(instance->buffer, instance->data_buffer, instance->buffer_size); 130 129 131 usb_log_debug2("Batch %p " USB_TRANSFER_BATCH_FMT " completed (%zuB): %s.\n", 132 instance, USB_TRANSFER_BATCH_ARGS(*instance), 133 instance->transfered_size, str_error(instance->error)); 130 usb_log_debug("Batch(%p) done (T%d.%d, %s %s in, %zuB): %s (%d).\n", 131 instance, instance->ep->address, instance->ep->endpoint, 132 usb_str_speed(instance->ep->speed), 133 usb_str_transfer_type_short(instance->ep->transfer_type), 134 instance->transfered_size, str_error(instance->error), 135 instance->error); 134 136 135 137 instance->callback_in(instance->fun, instance->error, … … 146 148 assert(instance->callback_out); 147 149 148 usb_log_debug2("Batch %p " USB_TRANSFER_BATCH_FMT " completed: %s.\n", 149 instance, USB_TRANSFER_BATCH_ARGS(*instance), 150 str_error(instance->error)); 150 usb_log_debug("Batch(%p) done (T%d.%d, %s %s out): %s (%d).\n", 151 instance, instance->ep->address, instance->ep->endpoint, 152 usb_str_speed(instance->ep->speed), 153 usb_str_transfer_type_short(instance->ep->transfer_type), 154 str_error(instance->error), instance->error); 151 155 152 156 instance->callback_out(instance->fun, … … 161 165 { 162 166 assert(instance); 163 usb_log_debug2("Batch %p " USB_TRANSFER_BATCH_FMT " disposing.\n", 164 instance, USB_TRANSFER_BATCH_ARGS(*instance)); 167 usb_log_debug("Batch(%p) disposing.\n", instance); 165 168 if (instance->private_data) { 166 169 assert(instance->private_data_dtor);
Note:
See TracChangeset
for help on using the changeset viewer.