Changeset 61efb7f in mainline for uspace/drv/usbkbd/main.c


Ignore:
Timestamp:
2010-12-12T22:10:33Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
647492b
Parents:
339aeac
Message:

Keyboard driver polls with pauses

So far, the driver polled with no pause at all, creating endless
chain of interrupt requests towards the device.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbkbd/main.c

    r339aeac r61efb7f  
    208208
    209209        while (true) {
     210                async_usleep(10 * 1000);
    210211                rc = usb_drv_async_interrupt_in(kbd_dev->device->parent_phone,
    211212                    poll_target, buffer, BUFFER_SIZE, &actual_size, &handle);
Note: See TracChangeset for help on using the changeset viewer.