diff options
Diffstat (limited to 'chip/lm4/uart.c')
-rw-r--r-- | chip/lm4/uart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/lm4/uart.c b/chip/lm4/uart.c index 6ef9f67834..04a22c382c 100644 --- a/chip/lm4/uart.c +++ b/chip/lm4/uart.c @@ -193,7 +193,7 @@ void uart_init(void) clock_enable_peripheral(CGC_OFFSET_UART, mask, CGC_MODE_ALL); #ifdef CONFIG_UART_HOST - mask |= (1 << CONFIG_UART_HOST); + mask |= BIT(CONFIG_UART_HOST); #endif clock_enable_peripheral(CGC_OFFSET_UART, mask, |