Changeset 3bacee1 in mainline for uspace/app/mkbd/main.c
- Timestamp:
- 2018-04-12T16:27:17Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3cf22f9
- Parents:
- 76d0981d
- git-author:
- Jiri Svoboda <jiri@…> (2018-04-11 19:25:33)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-04-12 16:27:17)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/mkbd/main.c
r76d0981d r3bacee1 145 145 146 146 usb_hid_report_field_t *field = usb_hid_report_get_sibling( 147 report, NULL, path, USB_HID_PATH_COMPARE_END 148 |USB_HID_PATH_COMPARE_USAGE_PAGE_ONLY,147 report, NULL, path, USB_HID_PATH_COMPARE_END | 148 USB_HID_PATH_COMPARE_USAGE_PAGE_ONLY, 149 149 USB_HID_REPORT_TYPE_INPUT); 150 150 … … 157 157 158 158 field = usb_hid_report_get_sibling( 159 report, field, path, USB_HID_PATH_COMPARE_END 160 |USB_HID_PATH_COMPARE_USAGE_PAGE_ONLY,159 report, field, path, USB_HID_PATH_COMPARE_END | 160 USB_HID_PATH_COMPARE_USAGE_PAGE_ONLY, 161 161 USB_HID_REPORT_TYPE_INPUT); 162 162 } … … 228 228 if (!sess) { 229 229 printf(NAME ": failed to connect to the device (handle %" 230 230 PRIun "): %s.\n", dev_handle, str_error(errno)); 231 231 return errno; 232 232 } … … 238 238 if (rc != EOK) { 239 239 printf(NAME ": failed to get path (handle %" 240 240 PRIun "): %s.\n", dev_handle, str_error(errno)); 241 241 return ENOMEM; 242 242 }
Note:
See TracChangeset
for help on using the changeset viewer.