Changes in uspace/drv/uhci-rhd/port_status.c [1f5c1e61:4d37c42] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-rhd/port_status.c
r1f5c1e61 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.