修复net公开API错误码被覆盖致UI推流连上即断(改用通知值回传,单连接EOF不关监听)
This commit is contained in:
+2
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user