add
This commit is contained in:
@@ -23,6 +23,12 @@
|
||||
/* Private includes ----------------------------------------------------------*/
|
||||
/* USER CODE BEGIN Includes */
|
||||
#include "modbus.h"
|
||||
|
||||
|
||||
|
||||
|
||||
//#include "PROJ_setup.h"
|
||||
|
||||
/* USER CODE END Includes */
|
||||
|
||||
/* Private typedef -----------------------------------------------------------*/
|
||||
@@ -314,7 +320,10 @@ static uint8_t first_in=1;
|
||||
void USART1_IRQHandler(void)
|
||||
{
|
||||
/* USER CODE BEGIN USART1_IRQn 0 */
|
||||
RS_UART_Handler(&hmodbus1);
|
||||
RS_UART_Handler(&hmodbus1);
|
||||
|
||||
|
||||
|
||||
return;
|
||||
/* USER CODE END USART1_IRQn 0 */
|
||||
HAL_UART_IRQHandler(&huart1);
|
||||
|
||||
Reference in New Issue
Block a user