修复net公开API错误码被覆盖致UI推流连上即断(改用通知值回传,单连接EOF不关监听)

This commit is contained in:
2026-09-21 04:46:47 +08:00
parent 57632e910a
commit 5cb7614959
3 changed files with 54 additions and 15 deletions
+2 -1
View File
@@ -84,8 +84,9 @@ void ui_task_func(void *argument) {
}
if (ui_net_sink_start(UI_NET_SINK_PORT) != 0) {
DBG_ERROR("UI net sink: start FAIL");
} else {
DBG_INFO("UI net sink: started (port %u)", (unsigned)UI_NET_SINK_PORT);
}
DBG_INFO("UI net sink: started (port %u)", (unsigned)UI_NET_SINK_PORT);
while (1) {
ui_port_step(10);