Changeset cf81757 in mainline for uspace/drv/usbkbd/kbddev.c


Ignore:
Timestamp:
2011-04-07T22:00:37Z (13 years ago)
Author:
Matej Klonfar <maklf@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9698695
Parents:
a694a58
Message:

testing code removed

File:
1 edited

Legend:

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

    ra694a58 rcf81757  
    612612        usb_hid_report_path_append_item(path, USB_HIDUT_PAGE_KEYBOARD, 0);
    613613
    614         uint8_t *tmp_buf = malloc((actual_size+1)*sizeof(uint8_t));
    615         tmp_buf[0] = 0x00;
    616         memcpy(tmp_buf+1, buffer, actual_size);
    617        
    618         int rc = usb_hid_parse_report(kbd_dev->parser, tmp_buf,
     614        int rc = usb_hid_parse_report(kbd_dev->parser, buffer,
    619615            actual_size, path, USB_HID_PATH_COMPARE_STRICT, callbacks, kbd_dev);
    620616
Note: See TracChangeset for help on using the changeset viewer.