Ignore:
Timestamp:
2018-04-15T09:35:04Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c1f44ca
Parents:
8ebe212
Message:

More ccheck fixes, sometimes with manual intervention.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/hid/usbhid/mouse/mousedev.c

    r8ebe212 r18b6a88  
    184184            hid_dev->report_id, &hid_dev->report,
    185185            USB_HIDUT_USAGE_GENERIC_DESKTOP_Y);
    186         const usb_hid_report_field_t *wheel= get_mouse_axis_move_field(
     186        const usb_hid_report_field_t *wheel = get_mouse_axis_move_field(
    187187            hid_dev->report_id, &hid_dev->report,
    188188            USB_HIDUT_USAGE_GENERIC_DESKTOP_WHEEL);
     
    232232        }
    233233        errno_t ret =
    234            usb_hid_report_path_append_item(path, USB_HIDUT_PAGE_BUTTON, 0);
     234            usb_hid_report_path_append_item(path, USB_HIDUT_PAGE_BUTTON, 0);
    235235        if (ret != EOK) {
    236236                usb_hid_report_path_free(path);
     
    241241
    242242        usb_hid_report_field_t *field = usb_hid_report_get_sibling(
    243             &hid_dev->report, NULL, path, USB_HID_PATH_COMPARE_END
    244             | USB_HID_PATH_COMPARE_USAGE_PAGE_ONLY, USB_HID_REPORT_TYPE_INPUT);
     243            &hid_dev->report, NULL, path, USB_HID_PATH_COMPARE_END |
     244            USB_HID_PATH_COMPARE_USAGE_PAGE_ONLY, USB_HID_REPORT_TYPE_INPUT);
    245245
    246246        while (field != NULL) {
     
    263263
    264264                field = usb_hid_report_get_sibling(
    265                     &hid_dev->report, field, path, USB_HID_PATH_COMPARE_END
    266                     | USB_HID_PATH_COMPARE_USAGE_PAGE_ONLY,
     265                    &hid_dev->report, field, path, USB_HID_PATH_COMPARE_END |
     266                    USB_HID_PATH_COMPARE_USAGE_PAGE_ONLY,
    267267                    USB_HID_REPORT_TYPE_INPUT);
    268268        }
Note: See TracChangeset for help on using the changeset viewer.