forked from espressif/esp-modbus
Whitespace: Automated whitespace fixes (large commit)
Apply the pre-commit hook whitespace fixes to all files in the repo. (Line endings, blank lines at end of file, trailing whitespace) * Original commit: espressif/esp-idf@66fb5a29bb
This commit is contained in:
@@ -41,4 +41,3 @@ esp_err_t mbc_slave_init(mb_port_type_t port_type, void** handler)
|
||||
}
|
||||
return error;
|
||||
}
|
||||
|
||||
|
@@ -153,4 +153,3 @@ typedef esp_err_t (*iface_start)(void); /*!< Interface method start */
|
||||
#endif
|
||||
|
||||
#endif // _MB_IFACE_COMMON_H
|
||||
|
||||
|
@@ -452,4 +452,3 @@ eMBMasterFuncReadWriteMultipleHoldingRegister( UCHAR * pucFrame, USHORT * usLen
|
||||
|
||||
#endif
|
||||
#endif // #if MB_MASTER_RTU_ENABLED || MB_MASTER_ASCII_ENABLED || MB_MASTER_TCP_ENABLED
|
||||
|
||||
|
@@ -404,5 +404,3 @@ xMBMasterRTUTimerExpired(void)
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
@@ -129,4 +129,3 @@ xMBPortEventGetHandle(void)
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
@@ -68,4 +68,3 @@ vMBMasterPortClose( void )
|
||||
vMBMasterPortTimerClose( );
|
||||
vMBMasterPortEventClose( );
|
||||
}
|
||||
|
||||
|
@@ -283,4 +283,3 @@ BOOL xMBPortSerialGetByte(CHAR* pucByte)
|
||||
USHORT usLength = uart_read_bytes(ucUartNumber, (uint8_t*)pucByte, 1, MB_SERIAL_RX_TOUT_TICKS);
|
||||
return (usLength == 1);
|
||||
}
|
||||
|
||||
|
@@ -35,4 +35,3 @@
|
||||
esp_err_t mbc_serial_master_create(void** handler);
|
||||
|
||||
#endif // _MODBUS_SERIAL_CONTROLLER_MASTER
|
||||
|
||||
|
@@ -518,4 +518,3 @@ esp_err_t mbc_serial_slave_create(void** handler)
|
||||
|
||||
return ESP_OK;
|
||||
}
|
||||
|
||||
|
@@ -37,4 +37,3 @@
|
||||
esp_err_t mbc_serial_slave_create(void** handler);
|
||||
|
||||
#endif // _MODBUS_SERIAL_CONTROLLER_SLAVE
|
||||
|
||||
|
@@ -40,4 +40,3 @@
|
||||
esp_err_t mbc_tcp_master_create(void** handler);
|
||||
|
||||
#endif // _MODBUS_TCP_CONTROLLER_SLAVE
|
||||
|
||||
|
@@ -38,4 +38,3 @@
|
||||
esp_err_t mbc_tcp_slave_create(void** handler);
|
||||
|
||||
#endif // _MODBUS_TCP_CONTROLLER_SLAVE
|
||||
|
||||
|
@@ -706,4 +706,3 @@ xMBTCPPortSendResponse( UCHAR * pucMBTCPFrame, USHORT usTCPLength )
|
||||
}
|
||||
return bFrameSent;
|
||||
}
|
||||
|
||||
|
@@ -14,4 +14,3 @@ input_reg_params_t input_reg_params = { 0 };
|
||||
coil_reg_params_t coil_reg_params = { 0 };
|
||||
|
||||
discrete_reg_params_t discrete_reg_params = { 0 };
|
||||
|
||||
|
@@ -8,4 +8,3 @@ PROJECT_NAME := modbus_master
|
||||
EXTRA_COMPONENT_DIRS := $(IDF_PATH)/examples/protocols/modbus/mb_example_common
|
||||
|
||||
include $(IDF_PATH)/make/project.mk
|
||||
|
||||
|
@@ -2,4 +2,3 @@ set(PROJECT_NAME "modbus_master")
|
||||
|
||||
idf_component_register(SRCS "master.c"
|
||||
INCLUDE_DIRS ".")
|
||||
|
||||
|
@@ -8,4 +8,3 @@ PROJECT_NAME := modbus_slave
|
||||
EXTRA_COMPONENT_DIRS := $(IDF_PATH)/examples/protocols/modbus/mb_example_common
|
||||
|
||||
include $(IDF_PATH)/make/project.mk
|
||||
|
||||
|
@@ -2,4 +2,3 @@ set(PROJECT_NAME "modbus_tcp_master")
|
||||
|
||||
idf_component_register(SRCS "tcp_master.c"
|
||||
INCLUDE_DIRS ".")
|
||||
|
||||
|
@@ -8,4 +8,3 @@ EXTRA_COMPONENT_DIRS := $(IDF_PATH)/examples/protocols/modbus/mb_example_common
|
||||
EXTRA_COMPONENT_DIRS += $(IDF_PATH)/examples/common_components/protocol_examples_common
|
||||
|
||||
include $(IDF_PATH)/make/project.mk
|
||||
|
||||
|
Reference in New Issue
Block a user