Changeset 6f730278 in mainline


Ignore:
Timestamp:
2011-11-09T13:06:31Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
90df90c
Parents:
e3c78efc
Message:

usbhid: Fix array access index.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbhid/usbhid.c

    re3c78efc r6f730278  
    9292        hid_dev->subdriver_count = 1;
    9393        // TODO 2 should be mouse, but find a better way
    94         hid_dev->subdrivers[2] = usb_hid_subdrivers[0].subdriver;
     94        hid_dev->subdrivers[0] = usb_hid_subdrivers[2].subdriver;
    9595
    9696        return EOK;
Note: See TracChangeset for help on using the changeset viewer.