diff --git a/project/Core/Src/modbus_tcp.c b/project/Core/Src/modbus_tcp.c index c83caa2..e999387 100644 --- a/project/Core/Src/modbus_tcp.c +++ b/project/Core/Src/modbus_tcp.c @@ -49,6 +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); // Putting underscores in the whole array memset(text, '_', TEXT_LENGTH);