Changeset 37f7cfe in mainline for uspace/drv/usbkbd/main.c
- Timestamp:
- 2010-12-13T01:11:27Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 75732da, a9b6bec
- Parents:
- 682b697 (diff), f9a0cef (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbkbd/main.c
r682b697 r37f7cfe 39 39 #define NAME "usbkbd" 40 40 41 static const usb_endpoint_t CONTROL_EP = 0; 41 #define GUESSED_POLL_ENDPOINT 1 42 42 43 43 /* … … 155 155 156 156 // default endpoint 157 kbd_dev-> default_ep = CONTROL_EP;157 kbd_dev->poll_endpoint = GUESSED_POLL_ENDPOINT; 158 158 159 159 /* … … 204 204 usb_target_t poll_target = { 205 205 .address = kbd_dev->address, 206 .endpoint = kbd_dev-> default_ep206 .endpoint = kbd_dev->poll_endpoint 207 207 }; 208 208 209 209 while (true) { 210 async_usleep(1000 * 1000); 210 211 rc = usb_drv_async_interrupt_in(kbd_dev->device->parent_phone, 211 212 poll_target, buffer, BUFFER_SIZE, &actual_size, &handle);
Note:
See TracChangeset
for help on using the changeset viewer.