Changeset 3bacee1 in mainline for uspace/lib/usbhost/src/bandwidth.c


Ignore:
Timestamp:
2018-04-12T16:27:17Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3cf22f9
Parents:
76d0981d
git-author:
Jiri Svoboda <jiri@…> (2018-04-11 19:25:33)
git-committer:
Jiri Svoboda <jiri@…> (2018-04-12 16:27:17)
Message:

Make ccheck-fix again and commit more good files.

File:
1 edited

Legend:

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

    r76d0981d r3bacee1  
    6262
    6363        /* We care about bandwidth only for interrupt and isochronous. */
    64         if ((type != USB_TRANSFER_INTERRUPT)
    65             && (type != USB_TRANSFER_ISOCHRONOUS)) {
     64        if ((type != USB_TRANSFER_INTERRUPT) &&
     65            (type != USB_TRANSFER_ISOCHRONOUS)) {
    6666                return 0;
    6767        }
     
    127127
    128128        /* We care about bandwidth only for interrupt and isochronous. */
    129         if ((type != USB_TRANSFER_INTERRUPT)
    130             && (type != USB_TRANSFER_ISOCHRONOUS)) {
     129        if ((type != USB_TRANSFER_INTERRUPT) &&
     130            (type != USB_TRANSFER_ISOCHRONOUS)) {
    131131                return 0;
    132132        }
     
    143143                if (ep->direction == USB_DIRECTION_IN)
    144144                        return 64060 + (2 * hub_ls_setup) +
    145                                 (677 * base_time) + host_delay;
     145                            (677 * base_time) + host_delay;
    146146                else
    147147                        return 64107 + (2 * hub_ls_setup) +
    148                                 (667 * base_time) + host_delay;
     148                            (667 * base_time) + host_delay;
    149149
    150150        case USB_SPEED_FULL:
Note: See TracChangeset for help on using the changeset viewer.