diff options
Diffstat (limited to 'chip/npcx/uartn.c')
-rw-r--r-- | chip/npcx/uartn.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chip/npcx/uartn.c b/chip/npcx/uartn.c index d7d46e849f..692e75419f 100644 --- a/chip/npcx/uartn.c +++ b/chip/npcx/uartn.c @@ -188,9 +188,9 @@ static void uartn_set_fifo_mode(uint8_t uart_num) /* Enable the UART FIFO mode */ SET_BIT(NPCX_UMDSL(uart_num), NPCX_UMDSL_FIFO_MD); /* Disable all Tx interrupts */ - NPCX_UFTCTL(uart_num) &= ~((1 << NPCX_UFTCTL_TEMPTY_LVL_EN) | - (1 << NPCX_UFTCTL_TEMPTY_EN) | - (1 << NPCX_UFTCTL_NXIMPEN)); + NPCX_UFTCTL(uart_num) &= ~(BIT(NPCX_UFTCTL_TEMPTY_LVL_EN) | + BIT(NPCX_UFTCTL_TEMPTY_EN) | + BIT(NPCX_UFTCTL_NXIMPEN)); } #endif |