Changeset 3742068 in mainline for uspace/drv/usbhid/kbddev.c


Ignore:
Timestamp:
2011-03-06T17:03:25Z (13 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
24d5432
Parents:
c18b11a (diff), b330cb1f (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: remaining HID class-specific requests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhid/kbddev.c

    rc18b11a r3742068  
    181181            usb_debug_str_buffer(buffer, BOOTP_BUFFER_OUT_SIZE, 0));
    182182       
    183         uint16_t value = 0;
    184         value |= (USB_HID_REPORT_TYPE_OUTPUT << 8);
    185 
    186183        assert(kbd_dev->hid_dev != NULL);
    187184        assert(kbd_dev->hid_dev->initialized);
    188         usbhid_req_set_report(kbd_dev->hid_dev, value, buffer,
    189             BOOTP_BUFFER_OUT_SIZE);
     185        usbhid_req_set_report(kbd_dev->hid_dev, USB_HID_REPORT_TYPE_OUTPUT,
     186            buffer, BOOTP_BUFFER_OUT_SIZE);
    190187}
    191188
Note: See TracChangeset for help on using the changeset viewer.