From: @CHENG <2393524978@qq.com> Date: Wed, 21 Feb 2024 10:08:49 +0000 (+0800) Subject: gengxin X-Git-Url: http://git.snicker.com.cn/?a=commitdiff_plain;h=76a86d498913cde96cb51379339cd8afba1e8365;p=mirrors%2FASR3603_Z5.git gengxin --- diff --git a/2.sdk/sdk/gui/lv_watch/lv_apps/custom_function/heng_ai_blood_pressure.c b/2.sdk/sdk/gui/lv_watch/lv_apps/custom_function/heng_ai_blood_pressure.c index ce15f5a2..efc31cc5 100644 --- a/2.sdk/sdk/gui/lv_watch/lv_apps/custom_function/heng_ai_blood_pressure.c +++ b/2.sdk/sdk/gui/lv_watch/lv_apps/custom_function/heng_ai_blood_pressure.c @@ -557,6 +557,7 @@ void mmi_hengai_bp_measure_start_btn_event_cb(lv_obj_t * obj, lv_event_t e) else { HENGAI_HEALTH_DEBUG_PRINTF("[@CHENG_DEBUG][%s][%d]: \n", __FUNCTION__, __LINE__); + mmi_health_measure_factory_mode_clean(); mmi_hsensor_blood_open(); mmi_hengai_bp_measure_action_time_string_set(1); mmi_hengai_bp_measuring_flag_set(true); @@ -1355,6 +1356,7 @@ void mmi_heng_ai_bp_calibrate_start_screen(void) else { HENGAI_HEALTH_DEBUG_PRINTF("[@CHENG_DEBUG][%s][%d]: \n", __FUNCTION__, __LINE__); + mmi_health_measure_factory_mode_clean(); mmi_hsensor_blood_open(); mmi_hengai_bp_measure_action_time_string_set(1); mmi_hengai_bp_measuring_flag_set(true); diff --git a/2.sdk/sdk/gui/lv_watch/lv_apps/health_measure/health_measure.c b/2.sdk/sdk/gui/lv_watch/lv_apps/health_measure/health_measure.c index df0d77a5..552c99ee 100644 --- a/2.sdk/sdk/gui/lv_watch/lv_apps/health_measure/health_measure.c +++ b/2.sdk/sdk/gui/lv_watch/lv_apps/health_measure/health_measure.c @@ -951,6 +951,7 @@ void mmi_health_measure_factory_mode_clean(void) { mmi_health_measure_interrupt(); } + _lv_memset_00(&s_health_measure_run_data, sizeof(s_health_measure_run_data)); }