X-Git-Url: https://git.karo-electronics.de/?p=oswald.git;a=blobdiff_plain;f=metawatch%2Fmw_uart.c;h=a85ce8c063b79e2ee0c5383f4877b915d3ba647d;hp=79b650e7f73ca46373c476c541f4a3f1b2011850;hb=c41999e66b909587442a23288cc974931f29fe26;hpb=dbad5a471be4586591100f464c996ccaba0f6f96 diff --git a/metawatch/mw_uart.c b/metawatch/mw_uart.c index 79b650e..a85ce8c 100644 --- a/metawatch/mw_uart.c +++ b/metawatch/mw_uart.c @@ -9,7 +9,7 @@ static char UART_RX_CHAR = 0; -#if defined MW_DEVBOARD_V2 +#if defined MW_DEVBOARD_V2 || MW_DEBUG_UART void debug_uart_tx_char(char c); @@ -23,7 +23,8 @@ __interrupt void UCA_ISR (void) UART_RX_CHAR = UCA3RXBUF; _event_src |= DBG_UART_RCV_EVENT; /* wake up to handle the received char */ - LPM3_EXIT; + // LPM3_EXIT; + LPM3_EXIT_ISR(); break; case 4: // TXIFG break;