modbus_tcp

add unused define around arg variable
This commit is contained in:
2023-11-28 12:54:38 +01:00
parent 51eb3cddf7
commit 0ca78c93ef

View File

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