Changeset b21dfba in mainline for uspace/lib/usbhost/src/batch.c


Ignore:
Timestamp:
2011-07-11T17:05:18Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f20bc82
Parents:
00694c5
Message:

libusbhost: Make batch_finish a wrapper over finish_error rather the otherr way around.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/src/batch.c

    r00694c5 rb21dfba  
    105105 *
    106106 */
    107 void usb_transfer_batch_finish(usb_transfer_batch_t *instance)
     107void usb_transfer_batch_finish_error(usb_transfer_batch_t *instance, int error)
    108108{
    109109        assert(instance);
    110110        assert(instance->ep);
    111111        assert(instance->next_step);
     112        instance->error = error;
    112113        endpoint_release(instance->ep);
    113114        instance->next_step(instance);
Note: See TracChangeset for help on using the changeset viewer.