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);
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;
#ifndef _MW_UART_H
#define _MW_UART_H
-#if defined MW_DEVBOARD_V2
+#if defined MW_DEVBOARD_V2 || MW_DEBUG_UART
void init_debug_uart(void);
void debug_uart_tx_char(const char c);
void debug_uart_tx(const char *buf);