Changeset 4e30369 in mainline for uspace/drv/bus/usb/ohci/ohci_regs.h


Ignore:
Timestamp:
2012-02-24T03:06:51Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
65eac7b
Parents:
fd3abb6d
Message:

ohci: fix bit clearing macro

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ohci/ohci_regs.h

    rfd3abb6d r4e30369  
    4545#define OHCI_RD(reg) uint32_t_le2host(reg)
    4646#define OHCI_SET(reg, val) reg |= host2uint32_t_le(val)
    47 #define OHCI_CLR(reg, val) reg &= host2uint32_t_le(val)
     47#define OHCI_CLR(reg, val) reg &= host2uint32_t_le(~val)
    4848
    4949
Note: See TracChangeset for help on using the changeset viewer.