Changeset f2d88f3 in mainline for uspace/srv/hid/input
- Timestamp:
- 2019-01-04T21:22:17Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- af7b85b
- Parents:
- 06412ba
- Location:
- uspace/srv/hid/input
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/input/input.c
r06412ba rf2d88f3 539 539 size_t nread; 540 540 541 chardev_read(sdev->chardev, &data, sizeof(data), &nread); 541 chardev_read(sdev->chardev, &data, sizeof(data), &nread, 542 chardev_f_none); 542 543 /* XXX Handle error */ 543 544 kbd_push_data(sdev->kdev, data); -
uspace/srv/hid/input/port/chardev.c
r06412ba rf2d88f3 138 138 139 139 while (true) { 140 rc = chardev_read(chardev, &b, sizeof(b), &nread); 140 rc = chardev_read(chardev, &b, sizeof(b), &nread, 141 chardev_f_none); 141 142 if (rc != EOK || nread != sizeof(b)) { 142 143 printf("%s: Error reading data", NAME);
Note:
See TracChangeset
for help on using the changeset viewer.