Skip to content
Browse files

libbase: unmask UART interrupt correctly

  • Loading branch information...
1 parent c01594f commit d03ee7a89f7f8a555153eecc1adebfb06dd4986c @sbourdeauducq sbourdeauducq committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 software/libbase/uart.c
View
2 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);
}

0 comments on commit d03ee7a

Please sign in to comment.
Something went wrong with that request. Please try again.