Fixing w5500.

This commit is contained in:
TXuian 2022-12-10 12:49:55 +08:00
parent d2fae25126
commit cc22e613b9
1 changed files with 1 additions and 0 deletions

View File

@ -404,6 +404,7 @@ void wiz_server(void *param) {
while (1) {
ret = wiz_server_op(0, buf, g_wiznet_buf_size, port, RECV_DATA);
if (ret > 0) {
KPrintf("[W5500 Server] Recv: %s\n", buf);
wiz_server_op(0, buf, g_wiznet_buf_size, port, SEND_DATA);
};
}