Ignore:
Timestamp:
2018-01-22T12:20:14Z (7 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
998773d
Parents:
b3c39690
git-author:
Ondřej Hlavatý <aearsis@…> (2018-01-22 12:18:02)
git-committer:
Ondřej Hlavatý <aearsis@…> (2018-01-22 12:20:14)
Message:

typo: transferred is spelled with two r

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/uhci/uhci_batch.c

    rb3c39690 rdb51a6a6  
    163163            uhci_batch, USB_TRANSFER_BATCH_ARGS(*batch),
    164164            uhci_batch->td_count);
    165         batch->transfered_size = 0;
     165        batch->transferred_size = 0;
    166166
    167167        uhci_endpoint_t *uhci_ep = (uhci_endpoint_t *) batch->ep;
     
    185185                }
    186186
    187                 batch->transfered_size
     187                batch->transferred_size
    188188                    += td_act_size(&uhci_batch->tds[i]);
    189189                if (td_is_short(&uhci_batch->tds[i]))
     
    191191        }
    192192substract_ret:
    193         if (batch->transfered_size > 0 && batch->ep->transfer_type == USB_TRANSFER_CONTROL) {
    194                 assert(batch->transfered_size >= USB_SETUP_PACKET_SIZE);
    195                 batch->transfered_size -= USB_SETUP_PACKET_SIZE;
     193        if (batch->transferred_size > 0 && batch->ep->transfer_type == USB_TRANSFER_CONTROL) {
     194                assert(batch->transferred_size >= USB_SETUP_PACKET_SIZE);
     195                batch->transferred_size -= USB_SETUP_PACKET_SIZE;
    196196        }
    197197
    198198        if (batch->dir == USB_DIRECTION_IN) {
    199                 assert(batch->transfered_size <= batch->buffer_size);
     199                assert(batch->transferred_size <= batch->buffer_size);
    200200                memcpy(batch->buffer,
    201201                    uhci_transfer_batch_data_buffer(uhci_batch),
    202                     batch->transfered_size);
     202                    batch->transferred_size);
    203203        }
    204204
Note: See TracChangeset for help on using the changeset viewer.