Changeset ac8285d in mainline


Ignore:
Timestamp:
2011-03-01T19:56:01Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0e2fdcf, 19a1800, 4c7c251
Parents:
494eaf7
Message:

Fix comparison vs. assignment

File:
1 edited

Legend:

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

    r494eaf7 rac8285d  
    255255        usb_log_debug2("\nLock keys after: 0x%x\n\n", kbd_dev->lock_keys);
    256256       
    257         if (key = KC_CAPS_LOCK || key == KC_NUM_LOCK || key == KC_SCROLL_LOCK) {
     257        if (key == KC_CAPS_LOCK || key == KC_NUM_LOCK || key == KC_SCROLL_LOCK) {
    258258                // do not send anything to the console, this is our business
    259259                return;
Note: See TracChangeset for help on using the changeset viewer.