Changeset d7f3040 in mainline for uspace/drv/usbhub/port_status.h


Ignore:
Timestamp:
2011-04-07T07:44:21Z (13 years ago)
Author:
Matus Dekanek <smekideki@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1c89f74
Parents:
e5ccfd1
Message:

fix attempt #2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhub/port_status.h

    re5ccfd1 rd7f3040  
    257257 */
    258258static inline bool usb_port_get_bit(usb_port_status_t * status, int idx) {
    259         return (*status)&(1 << idx);
     259        return ((*status)&(1 << idx))!=0;
    260260}
    261261
Note: See TracChangeset for help on using the changeset viewer.