From: 孙春阳 Date: Tue, 23 Dec 2025 08:28:38 +0000 (+0800) Subject: 亮屏更新信号,增加业务idle状态处理 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=da6b46a456b46708b373db2cda151e6450262d31;p=mirrors%2FFD230.git 亮屏更新信号,增加业务idle状态处理 --- diff --git a/code/sdk/zhihui/4g/cat1Service/Service/cat1_server.c b/code/sdk/zhihui/4g/cat1Service/Service/cat1_server.c index a4246e33f..80daedc7e 100644 --- a/code/sdk/zhihui/4g/cat1Service/Service/cat1_server.c +++ b/code/sdk/zhihui/4g/cat1Service/Service/cat1_server.c @@ -1502,7 +1502,8 @@ static void time_sync_func(void) cat1_gettime(); #endif static uint8_t g_signal_already_updated = 0; - if (cat1_api_need_update_signal() && g_signal_already_updated == 0) + static uint8_t g_ws_idle = 1; //ToDo:此处应该从系统中获取业务是否执行,只有空闲状态才可以更新。 + if (cat1_api_need_update_signal() && (g_signal_already_updated == 0 || g_ws_idle == 1) ) { cat1_getsignal(); #ifdef BOARD_LEINIAO