From d03ee7a89f7f8a555153eecc1adebfb06dd4986c Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 21 May 2012 20:01:21 +0200 Subject: [PATCH] libbase: unmask UART interrupt correctly --- software/libbase/uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/software/libbase/uart.c b/software/libbase/uart.c index 76049834..57ed4922 100644 --- a/software/libbase/uart.c +++ b/software/libbase/uart.c @@ -121,7 +121,7 @@ void uart_init(void) CSR_UART_EV_ENABLE = UART_EV_TX | UART_EV_RX; mask = irq_getmask(); - mask |= UART_INTERRUPT; + mask |= 1 << UART_INTERRUPT; irq_setmask(mask); } -- 2.30.2