From 0ca78c93ef65efc92f6a95510432ee5d4174f77f Mon Sep 17 00:00:00 2001 From: Sander Speetjens Date: Tue, 28 Nov 2023 12:54:38 +0100 Subject: [PATCH] modbus_tcp add unused define around arg variable --- project/Core/Src/modbus_tcp.c | 1 + 1 file changed, 1 insertion(+) 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);