freemodbus: fix tcp master long frame buffer issue

This commit is contained in:
Alex Lisitsyn
2021-11-05 16:23:35 +00:00
committed by Ivan Grokhotkov
parent 7fcebe7a23
commit 0d393558d3
5 changed files with 133 additions and 71 deletions
@@ -1,3 +1,9 @@
/*
* SPDX-FileCopyrightText: 2016-2021 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
/*=====================================================================================
* Description:
* The Modbus parameter structures used to define Modbus instances that
@@ -44,6 +50,7 @@ typedef struct
float input_data5;
float input_data6;
float input_data7;
uint16_t data_block1[150];
} input_reg_params_t;
#pragma pack(pop)