forked from espressif/esp-idf
Merge branch 'feature/modbus_fix_parameter_include_order' into 'master'
modbus: fix common parameters include order Closes IDFGH-9427 See merge request espressif/esp-idf!22436
This commit is contained in:
@@ -13,6 +13,8 @@
|
|||||||
#ifndef _DEVICE_PARAMS
|
#ifndef _DEVICE_PARAMS
|
||||||
#define _DEVICE_PARAMS
|
#define _DEVICE_PARAMS
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
// This file defines structure of modbus parameters which reflect correspond modbus address space
|
// This file defines structure of modbus parameters which reflect correspond modbus address space
|
||||||
// for each modbus register type (coils, discreet inputs, holding registers, input registers)
|
// for each modbus register type (coils, discreet inputs, holding registers, input registers)
|
||||||
#pragma pack(push, 1)
|
#pragma pack(push, 1)
|
||||||
|
@@ -7,7 +7,6 @@
|
|||||||
* Description:
|
* Description:
|
||||||
* C file to define parameter storage instances
|
* C file to define parameter storage instances
|
||||||
*====================================================================================*/
|
*====================================================================================*/
|
||||||
#include <stdint.h>
|
|
||||||
#include "modbus_params.h"
|
#include "modbus_params.h"
|
||||||
|
|
||||||
// Here are the user defined instances for device parameters packed by 1 byte
|
// Here are the user defined instances for device parameters packed by 1 byte
|
||||||
|
Reference in New Issue
Block a user