refactor: 精简R8裸机工程并补强调试链路

This commit is contained in:
2026-03-30 23:28:41 +08:00
parent 0abda47013
commit 3b6f52de63
227 changed files with 952 additions and 255229 deletions
+7
View File
@@ -40,6 +40,13 @@ static err_t tcp_server_on_recv(void *arg, struct tcp_pcb *pcb, struct pbuf *p,
}
if (p == NULL) {
tcp_arg(pcb, NULL);
tcp_recv(pcb, NULL);
tcp_sent(pcb, NULL);
tcp_err(pcb, NULL);
if (tcp_close(pcb) != ERR_OK) {
tcp_abort(pcb);
}
ctx->client_pcb = NULL;
ctx->status.state = TCP_SERVER_STATE_LISTENING;
return ERR_OK;