fix the bug of tos shell

This commit is contained in:
mculover666
2021-09-25 12:10:35 +08:00
parent 2540b9fc41
commit d285144a8f
10 changed files with 2863 additions and 30 deletions

View File

@@ -23,6 +23,7 @@
/* USER CODE BEGIN 0 */
uint8_t data;
uint8_t shell_data;
/* USER CODE END 0 */
UART_HandleTypeDef hlpuart1;
@@ -72,7 +73,6 @@ void MX_USART1_UART_Init(void)
{
Error_Handler();
}
}
/* USART2 init function */
@@ -93,7 +93,7 @@ void MX_USART2_UART_Init(void)
{
Error_Handler();
}
HAL_UART_Receive_IT(&huart2, &shell_data, 1);
}
/* USART3 init function */