Changeset bd2394b in mainline for uspace/drv/usbhid/usbhid.c


Ignore:
Timestamp:
2011-05-07T10:53:41Z (13 years ago)
Author:
Matej Klonfar <maklf@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cc5908e
Parents:
ba17f5b
Message:

Removed functions for returning size of report for usage path

File:
1 edited

Legend:

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

    rba17f5b rbd2394b  
    201201       
    202202        usb_log_debug("Compare flags: %d\n", mapping->compare);
    203         size_t size = usb_hid_report_input_length(hid_dev->report, usage_path,
    204             mapping->compare);
     203        size_t size = usb_hid_report_size(hid_dev->report, mapping->report_id,
     204            USB_HID_REPORT_TYPE_INPUT);
    205205        usb_log_debug("Size of the input report: %zuB\n", size);
    206206       
Note: See TracChangeset for help on using the changeset viewer.