This commit is contained in:
2026-02-27 08:47:44 +03:00
parent b36ffe294c
commit 97a7bfeb07
14 changed files with 555 additions and 380 deletions

View File

@@ -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);