Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhid/src/hidparser.c

    r38d150e rb7fd2a0  
    127127 * @return Error code.
    128128 */
    129 int usb_hid_parse_report(const usb_hid_report_t *report, const uint8_t *data,
     129errno_t usb_hid_parse_report(const usb_hid_report_t *report, const uint8_t *data,
    130130    size_t size, uint8_t *report_id)
    131131{
     
    334334 * @return Error code
    335335 */
    336 int usb_hid_report_output_translate(usb_hid_report_t *report,
     336errno_t usb_hid_report_output_translate(usb_hid_report_t *report,
    337337    uint8_t report_id, uint8_t *buffer, size_t size)
    338338{
     
    531531
    532532                        if (usb_hid_report_compare_usage_path(
    533                             field->collection_path, path, flags) == EOK) {
     533                            field->collection_path, path, flags) == 0) {
    534534                                usb_hid_report_remove_last_item(
    535535                                    field->collection_path);
Note: See TracChangeset for help on using the changeset viewer.