Changeset bb70637 in mainline for uspace/drv/bus/usb/usbhid/main.c
- Timestamp:
- 2013-01-26T23:35:12Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 35bc430
- Parents:
- 3e23316
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhid/main.c
r3e23316 rbb70637 89 89 * This will create a separate fibril that will query the device 90 90 * for the data continuously. */ 91 rc = usb_device_auto_poll(dev,91 rc = usb_device_auto_poll_desc(dev, 92 92 /* Index of the polling pipe. */ 93 hid_dev->poll_pipe_ index,93 hid_dev->poll_pipe_mapping->description, 94 94 /* Callback when data arrives. */ 95 95 usb_hid_polling_callback, 96 96 /* How much data to request. */ 97 dev->pipes[hid_dev->poll_pipe_index].pipe.max_packet_size,97 hid_dev->poll_pipe_mapping->pipe.max_packet_size, 98 98 /* Delay */ 99 0,99 -1, 100 100 /* Callback when the polling ends. */ 101 101 usb_hid_polling_ended_callback,
Note:
See TracChangeset
for help on using the changeset viewer.