Changeset 71f211f in mainline for uspace/drv/hid/usbhid/main.c
- Timestamp:
- 2018-01-13T20:47:58Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8a0c52a
- Parents:
- 7dddd7b
- git-author:
- Petr Manek <petr.manek@…> (2018-01-13 20:44:08)
- git-committer:
- Petr Manek <petr.manek@…> (2018-01-13 20:47:58)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/hid/usbhid/main.c
r7dddd7b r71f211f 90 90 * This will create a separate fibril that will query the device 91 91 * for the data continuously. */ 92 const usb_device_ auto_polling_t auto_polling = {92 const usb_device_polling_config_t config = { 93 93 .debug = 1, 94 94 .auto_clear_halt = true, … … 101 101 }; 102 102 103 rc = usb_device_ auto_polling(dev, hid_dev->poll_pipe_mapping,104 &auto_polling, hid_dev->poll_pipe_mapping->pipe.desc.max_transfer_size);103 rc = usb_device_poll(dev, hid_dev->poll_pipe_mapping, &config, 104 hid_dev->poll_pipe_mapping->pipe.desc.max_transfer_size, &hid_dev->polling); 105 105 106 106 if (rc != EOK) {
Note:
See TracChangeset
for help on using the changeset viewer.