Update modbus_tcp.c
This commit is contained in:
@@ -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");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user