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);