modbus_tcp
remove newlines from init
This commit is contained in:
@@ -148,7 +148,7 @@ static err_t modbus_accept(void* arg, struct tcp_pcb* pcb, err_t err) {
|
||||
* @brief Initializes the modbus tcp
|
||||
*/
|
||||
void modbus_init(void) {
|
||||
LOG_INFO(TAG, "Initializing\n");
|
||||
LOG_INFO(TAG, "Initializing");
|
||||
// Creating a new tcp pcb
|
||||
modbus_pcb = tcp_new();
|
||||
|
||||
@@ -158,5 +158,5 @@ void modbus_init(void) {
|
||||
modbus_pcb = tcp_listen(modbus_pcb);
|
||||
// Set callback function for incoming connections
|
||||
tcp_accept(modbus_pcb, modbus_accept);
|
||||
LOG_INFO(TAG, "initialized\n");
|
||||
LOG_INFO(TAG, "initialized");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user