Changeset 0533b03 in mainline


Ignore:
Timestamp:
2011-03-25T14:29:30Z (14 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f08c560
Parents:
8c40822
Message:

Small fixes

File:
1 edited

Legend:

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

    r8c40822 r0533b03  
    605605        usb_hid_report_path_append_item(path, USB_HIDUT_PAGE_KEYBOARD, 0);
    606606       
    607         int rc = usb_hid_parse_report(kbd_dev->hid_dev->parser, buffer,
     607        int rc = usb_hid_parse_report(kbd_dev->parser, buffer,
    608608            actual_size, path, USB_HID_PATH_COMPARE_STRICT, callbacks, kbd_dev);
    609609
     
    752752         * TODO: make more general
    753753         */
    754         usb_hid_report_path_t path;
    755         path = usb_hid_report_path();
     754        usb_hid_report_path_t *path = usb_hid_report_path();
    756755        usb_hid_report_path_append_item(path, USB_HIDUT_PAGE_KEYBOARD, 0);
    757756        kbd_dev->key_count = usb_hid_report_input_length(
    758             kbd_dev->hid_dev->parser, path, USB_HID_PATH_COMPARE_STRICT);
     757            kbd_dev->parser, path, USB_HID_PATH_COMPARE_STRICT);
    759758        usb_hid_report_path_free (path);
    760759       
Note: See TracChangeset for help on using the changeset viewer.