Reformat modbus_tcp.c/h and fix some typos
This commit is contained in:
@@ -8,7 +8,8 @@
|
||||
|
||||
#ifndef INC_MODBUS_H_
|
||||
#define INC_MODBUS_H_
|
||||
#define MODBUSPORT 502 //is the default
|
||||
|
||||
#define MODBUSPORT 502 // 502 is the default
|
||||
|
||||
|
||||
#include <tcp.h>
|
||||
@@ -21,9 +22,8 @@
|
||||
|
||||
/**
|
||||
* @fn void modbus_init
|
||||
* @brief Initiallises the modbus tcp
|
||||
* @brief Initializes the modbus tcp
|
||||
*/
|
||||
|
||||
void modbus_init(void);
|
||||
|
||||
#endif /* INC_MODBUS_H_ */
|
||||
|
||||
Reference in New Issue
Block a user