Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 4e30369 in mainline


Ignore:
Timestamp:
2012-02-24T03:06:51Z (8 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
master
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.