From da6b46a456b46708b373db2cda151e6450262d31 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E5=AD=99=E6=98=A5=E9=98=B3?= Date: Tue, 23 Dec 2025 16:28:38 +0800 Subject: [PATCH] =?utf8?q?=E4=BA=AE=E5=B1=8F=E6=9B=B4=E6=96=B0=E4=BF=A1?= =?utf8?q?=E5=8F=B7=EF=BC=8C=E5=A2=9E=E5=8A=A0=E4=B8=9A=E5=8A=A1idle?= =?utf8?q?=E7=8A=B6=E6=80=81=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- code/sdk/zhihui/4g/cat1Service/Service/cat1_server.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.17.1