Changeset 1cbfd6b in mainline


Ignore:
Timestamp:
2011-03-25T12:34:54Z (13 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4acf099
Parents:
0d92638
Message:

Fixed checking of bool interface.

File:
1 edited

Legend:

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

    r0d92638 r1cbfd6b  
    704704       
    705705        /* TODO: does not work! */
    706         if (dev->pipes[USB_KBD_POLL_EP_NO].interface_no < 0) {
     706        if (!dev->pipes[USB_KBD_POLL_EP_NO].present) {
    707707                usb_log_warning("Required endpoint not found - probably not "
    708708                    "a supported device.\n");
Note: See TracChangeset for help on using the changeset viewer.