/trunk/uart2.c |
---|
72,7 → 72,7 |
UART_InitTypeDef UART_InitStructure; |
GPIO_InitTypeDef GPIO_InitStructure; |
UART1_PutString("\r\n UART2 init..."); |
// UART1_PutString("\r\n UART2 init..."); |
// initialize txd buffer |
Buffer_Init(&UART2_tx_buffer, UART2_tbuffer, UART2_TX_BUFFER_LEN); |
130,7 → 130,7 |
// enable the uart 2 IRQ |
VIC_ITCmd(UART2_ITLine, ENABLE); |
UART1_PutString("ok"); |
// UART1_PutString("ok"); |
} |