Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

libbase: unmask UART interrupt correctly

  • Loading branch information...
commit d03ee7a89f7f8a555153eecc1adebfb06dd4986c 1 parent c01594f
@sbourdeauducq sbourdeauducq authored
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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.