Changeset 4d37c42 in mainline for uspace/drv/uhci-rhd/port_status.c
- Timestamp:
- 2011-02-25T17:17:58Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 013e4ca4
- Parents:
- f20f9e2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-rhd/port_status.c
rf20f9e2 r4d37c42 41 41 struct flag_name 42 42 { 43 u nsignedflag;43 uint16_t flag; 44 44 const char *name; 45 45 }; … … 65 65 for (;i < sizeof(flags)/sizeof(struct flag_name); ++i) { 66 66 usb_log_debug2("\t%s status: %s.\n", flags[i].name, 67 value & flags[i].flag? "YES" : "NO");67 ((value & flags[i].flag) != 0) ? "YES" : "NO"); 68 68 } 69 69 }
Note:
See TracChangeset
for help on using the changeset viewer.