From 5787a0eda45d83dc483b33aa86a4f4e4443ad636 Mon Sep 17 00:00:00 2001 From: Sander Speetjens Date: Tue, 28 Nov 2023 13:13:17 +0100 Subject: [PATCH] modbus_tcp make the log more usefull --- project/Core/Src/modbus_tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/Core/Src/modbus_tcp.c b/project/Core/Src/modbus_tcp.c index ad8922b..c593a79 100644 --- a/project/Core/Src/modbus_tcp.c +++ b/project/Core/Src/modbus_tcp.c @@ -56,7 +56,7 @@ static err_t modbus_incoming_data(void* arg, struct tcp_pcb* pcb, struct pbuf* p text[TEXT_LENGTH - 1] = '\0'; if (p != NULL) { - LOG_INFO(TAG, "data not null\n"); + LOG_INFO(TAG, "data is valid\n"); // Process the modbus data tcp_recved(pcb, p->tot_len);