Changeset 0dc2fec in mainline for uspace/lib/usbdev/src


Ignore:
Timestamp:
2016-05-22T19:19:43Z (10 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b272c67a
Parents:
153c7a29 (diff), af2254ec (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes

Location:
uspace/lib/usbdev/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbdev/src/pipesinit.c

    r153c7a29 r0dc2fec  
    340340{
    341341        assert(pipe);
    342         assert(DEV_DESCR_MAX_PACKET_SIZE_OFFSET < CTRL_PIPE_MIN_PACKET_SIZE);
     342        static_assert(DEV_DESCR_MAX_PACKET_SIZE_OFFSET < CTRL_PIPE_MIN_PACKET_SIZE);
    343343
    344344        if ((pipe->direction != USB_DIRECTION_BOTH) ||
  • uspace/lib/usbdev/src/request.c

    r153c7a29 r0dc2fec  
    3939
    4040#define MAX_DATA_LENGTH ((size_t)(0xFFFF))
     41
     42static_assert(sizeof(usb_device_request_setup_packet_t) == 8);
    4143
    4244/** Generic wrapper for SET requests using standard control request format.
Note: See TracChangeset for help on using the changeset viewer.