diff options
Diffstat (limited to 'common/usbc_ppc.c')
-rw-r--r-- | common/usbc_ppc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/usbc_ppc.c b/common/usbc_ppc.c index 54da1f22b4..2904c00ded 100644 --- a/common/usbc_ppc.c +++ b/common/usbc_ppc.c @@ -69,7 +69,7 @@ static void clear_oc_tbl(void) * Only clear the table if the port partner is no longer * attached after debouncing. */ - if ((!((1 << port) & connected_ports)) && + if ((!(BIT(port) & connected_ports)) && oc_event_cnt_tbl[port]) { oc_event_cnt_tbl[port] = 0; CPRINTS("C%d: OC events cleared", port); |