Changeset f8c190e in mainline


Ignore:
Timestamp:
2011-03-08T21:55:36Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
269bd9b4, 8a02ff3
Parents:
a8e98498 (diff), c0964800 (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:

Fix LED keys toggling toggle :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-hcd/utils/device_keeper.c

    ra8e98498 rf8c190e  
    3535#include <assert.h>
    3636#include <errno.h>
     37#include <usb/debug.h>
    3738
    3839#include "device_keeper.h"
     
    120121        case 0x9: /* set configuration */
    121122        case 0x11: /* set interface */
    122                 instance->devices[target.address].toggle_status = 0;
     123                /* target must be device */
     124                if ((data[0] & 0xf) == 0) {
     125                        instance->devices[target.address].toggle_status = 0;
     126                }
    123127        break;
    124128        }
Note: See TracChangeset for help on using the changeset viewer.