Skip to content

Commit

Permalink
libbase: unmask UART interrupt correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Bourdeauducq committed May 21, 2012
1 parent c01594f commit d03ee7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion software/libbase/uart.c
Expand Up @@ -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);
}

Expand Down

0 comments on commit d03ee7a

Please sign in to comment.