Update modbus_tcp.c

This commit is contained in:
Obe Van Lierde
2023-11-27 00:29:20 +01:00
parent 1c8f8d7a6a
commit 2b26c52ea6

View File

@@ -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_red) << 16;
text_foreground_color |= ((uint32_t)text_color_green) << 8; text_foreground_color |= ((uint32_t)text_color_green) << 8;
text_foreground_color |= text_color_blue; text_foreground_color |= text_color_blue;
// Processing the image index // Processing the image index
size_t number_of_files = llfs_file_count(); // How many files that there are 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 { } else {
// LOG_INFO(TAG, "not in writing multiple register mode!!!\n"); // LOG_INFO(TAG, "not in writing multiple register mode!!!\n");
} }