modbus_tcp

make the log more usefull
This commit is contained in:
2023-11-28 13:13:17 +01:00
parent 090389ae6f
commit 5787a0eda4

View File

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