Changeset 24d943f in mainline
- Timestamp:
- 2011-03-03T21:02:09Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0e164ed
- Parents:
- d3594362
- Location:
- uspace/drv/usbhid
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhid/hiddev.c
rd3594362 r24d943f 206 206 assert(endpoint_mapping[0].interface != NULL); 207 207 208 /* 209 * Save polling interval 210 */ 211 hid_dev->poll_interval = endpoint_mapping[0].descriptor->poll_interval; 212 assert(hid_dev->poll_interval > 0); 213 208 214 rc = usbhid_dev_get_report_descriptor(hid_dev, 209 215 descriptors, descriptors_size, -
uspace/drv/usbhid/hiddev.h
rd3594362 r24d943f 57 57 usb_endpoint_pipe_t poll_pipe; 58 58 59 short poll_interval; 60 59 61 uint16_t iface; 60 62 -
uspace/drv/usbhid/kbddev.c
rd3594362 r24d943f 593 593 594 594 while (true) { 595 async_usleep(1000 * 10);596 597 595 sess_rc = usb_endpoint_pipe_start_session( 598 596 &kbd_dev->hid_dev->poll_pipe); … … 635 633 usb_log_debug("Calling usbhid_kbd_process_data()\n"); 636 634 usbhid_kbd_process_data(kbd_dev, buffer, actual_size); 635 636 async_usleep(kbd_dev->hid_dev->poll_interval); 637 637 } 638 638
Note:
See TracChangeset
for help on using the changeset viewer.