Changeset aaf835d in mainline


Ignore:
Timestamp:
2011-10-14T21:53:20Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5917859c
Parents:
68dbe3e
Message:

ushid: Minor changes.

Explicit size is not needed for static arrays.
Docs say -1 means any.

Location:
uspace/drv/bus/usb/usbhid
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbhid/generic/hiddev.c

    r68dbe3e raaf835d  
    5252        .direction = USB_DIRECTION_IN,
    5353        .interface_class = USB_CLASS_HID,
     54        .interface_subclass = -1,
     55        .interface_protocol = -1,
    5456        .flags = 0
    5557};
  • uspace/drv/bus/usb/usbhid/usbhid.c

    r68dbe3e raaf835d  
    5454
    5555/* Array of endpoints expected on the device, NULL terminated. */
    56 usb_endpoint_description_t *usb_hid_endpoints[USB_HID_POLL_EP_COUNT + 1] = {
     56usb_endpoint_description_t *usb_hid_endpoints[] = {
    5757        &usb_hid_kbd_poll_endpoint_description,
    5858        &usb_hid_mouse_poll_endpoint_description,
Note: See TracChangeset for help on using the changeset viewer.