From 2b26c52ea6668323f412fd100c38a70368d84e65 Mon Sep 17 00:00:00 2001 From: Obe Van Lierde Date: Mon, 27 Nov 2023 00:29:20 +0100 Subject: [PATCH] Update modbus_tcp.c --- project/Core/Src/modbus_tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/Core/Src/modbus_tcp.c b/project/Core/Src/modbus_tcp.c index 9957ea6..b3aaec5 100644 --- a/project/Core/Src/modbus_tcp.c +++ b/project/Core/Src/modbus_tcp.c @@ -96,6 +96,7 @@ static err_t modbus_incoming_data(void* arg, struct tcp_pcb* pcb, struct pbuf* p text_foreground_color |= ((uint32_t)text_color_red) << 16; text_foreground_color |= ((uint32_t)text_color_green) << 8; text_foreground_color |= text_color_blue; + // Processing the image index size_t number_of_files = llfs_file_count(); // How many files that there are @@ -132,7 +133,6 @@ static err_t modbus_incoming_data(void* arg, struct tcp_pcb* pcb, struct pbuf* p } } - } else { // LOG_INFO(TAG, "not in writing multiple register mode!!!\n"); }