From 09de03138b9bfd87aa909f1fa4902f0b8b7e986a Mon Sep 17 00:00:00 2001 From: Caisking Date: Thu, 12 Mar 2026 17:10:49 +0800 Subject: [PATCH] =?utf8?q?=E8=AE=BE=E7=BD=AE=E5=91=BC=E5=90=B8=E8=AE=AD?= =?utf8?q?=E7=BB=83=E4=B8=8D=E8=83=BD=E5=BC=B9=E7=AA=97=E8=BF=90=E5=8A=A8?= =?utf8?q?=E8=AF=86=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../fd272/service/msg_center/src/msg_center_customer.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/sdk/application/wearable/fd272/service/msg_center/src/msg_center_customer.cpp b/code/sdk/application/wearable/fd272/service/msg_center/src/msg_center_customer.cpp index 972335d6a..379cba868 100644 --- a/code/sdk/application/wearable/fd272/service/msg_center/src/msg_center_customer.cpp +++ b/code/sdk/application/wearable/fd272/service/msg_center/src/msg_center_customer.cpp @@ -1216,6 +1216,11 @@ void MsgCenterNotifyLowPowerAlarmProc(const Topic topic, Request* req) { uint8_t* motionType=(uint8_t*)req->data; WEARABLE_LOGI(WEARABLE_LOG_MODULE_APP, "MsgCenterNotifyArAlertProc,motionType = %d !",*motionType); + /* 呼吸训练中不弹出运动识别,避免节律呼吸被误识别为椭圆机等 */ + if (uapi_dev_runtime_get_respiratory_training_status() == 1) + { + return; + } MotionRecognitionViewEventListener::GetInstance().record_motion_recognition_log(); if(*motionType > 5 || *motionType <1) //未知运动不弹窗 { -- 2.17.1