Update modbus_tcp.c

This commit is contained in:
Obe Van Lierde
2023-12-04 14:54:08 +01:00
parent 5812dce80b
commit 725a29e2d3

View File

@@ -49,7 +49,7 @@ static err_t modbus_incoming_data(void* arg, struct tcp_pcb* pcb, struct pbuf* p
char text[TEXT_LENGTH];
uint32_t result_background = 0xff000000;
uint32_t text_foreground_color = 0xff000000;
LWIP_UNUSED_ARG(arg);
LWIP_UNUSED_ARG(arg); //removes warning
// Putting underscores in the whole array
memset(text, '_', TEXT_LENGTH);