Changeset d7f3040 in mainline for uspace/drv/usbhub/port_status.h
- Timestamp:
- 2011-04-07T07:44:21Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1c89f74
- Parents:
- e5ccfd1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhub/port_status.h
re5ccfd1 rd7f3040 257 257 */ 258 258 static inline bool usb_port_get_bit(usb_port_status_t * status, int idx) { 259 return ( *status)&(1 << idx);259 return ((*status)&(1 << idx))!=0; 260 260 } 261 261
Note:
See TracChangeset
for help on using the changeset viewer.