Changeset 7787dd81 in mainline for uspace/drv/usbkbd/kbddev.c


Ignore:
Timestamp:
2011-04-01T13:57:12Z (13 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e4153ea
Parents:
85fa1e1 (diff), 70a71e5 (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.
Message:

Merged fix to output report creation (+ change in reseting LED array).

File:
1 edited

Legend:

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

    r85fa1e1 r7787dd81  
    272272        unsigned i = 0;
    273273       
     274        /* Reset the LED data. */
     275        memset(kbd_dev->led_data, 0, kbd_dev->led_output_size * sizeof(int32_t));
     276       
    274277        if ((kbd_dev->mods & KM_NUM_LOCK) && (i < kbd_dev->led_output_size)) {
    275278                kbd_dev->led_data[i++] = USB_HID_LED_NUM_LOCK;
Note: See TracChangeset for help on using the changeset viewer.