|
@@ -134,7 +134,7 @@ int main(void)
|
134
|
InitUartQueue(&TerminalQueue); //ESP8266 queue �??????????��
|
134
|
InitUartQueue(&TerminalQueue); //ESP8266 queue �??????????��
|
135
|
InitUartQueue(&UbxQueue); //PC�?????????????? queue �??????????��
|
135
|
InitUartQueue(&UbxQueue); //PC�?????????????? queue �??????????��
|
136
|
HAL_UART_Receive_IT(&hTerminal, TerminalQueue.Buffer, 1); //ESP8266 �????????????? ?��?��?�� ?��?�� ?��?��?��?�� ?��?��
|
136
|
HAL_UART_Receive_IT(&hTerminal, TerminalQueue.Buffer, 1); //ESP8266 �????????????? ?��?��?�� ?��?�� ?��?��?��?�� ?��?��
|
137
|
- HAL_UART_Receive_IT(&hTpb22, UbxQueue.Buffer, 1); //PC�????????????? ?��?��?�� ?��?�� ?��?��?��?�� ?��?��
|
|
|
|
|
137
|
+ HAL_UART_Receive_DMA(&hubx,UbxQueue.Buffer,1);
|
138
|
setbuf(stdout, NULL); // \n ?�� ?��?�� ?���?????????????????
|
138
|
setbuf(stdout, NULL); // \n ?�� ?��?�� ?���?????????????????
|
139
|
HAL_GPIO_WritePin(GPIOB,GPIO_PIN_9,SET);
|
139
|
HAL_GPIO_WritePin(GPIOB,GPIO_PIN_9,SET);
|
140
|
/* USER CODE END 2 */
|
140
|
/* USER CODE END 2 */
|