From: CCC <2393524978@qq.com> Date: Fri, 24 Nov 2023 02:39:09 +0000 (+0800) Subject: youhua X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=8667e8de61c5ddf89c670a16dd9138ab6e514324;p=mirrors%2FASR3603_Z5.git youhua --- diff --git a/2.sdk/sdk/gui/lv_watch/mmi_protocol/mmi_protocol_api.c b/2.sdk/sdk/gui/lv_watch/mmi_protocol/mmi_protocol_api.c index abcad02c..8fa2f131 100644 --- a/2.sdk/sdk/gui/lv_watch/mmi_protocol/mmi_protocol_api.c +++ b/2.sdk/sdk/gui/lv_watch/mmi_protocol/mmi_protocol_api.c @@ -211,7 +211,7 @@ static void mmi_protocol_watch_timed_mission_timer_cb(uint32_t para) if(mmi_protocol_watch_location_upload_interval_get() <= (cur_time_stamp - s_watch_timed_location_time_stamp)) { uint32_t current_steps = asl_pedometer_steps_get(); - if(20 <= LV_MATH_ABS(current_steps - s_watch_timed_location_last_steps)) + if(current_steps != s_watch_timed_location_last_steps)) { mmi_protocol_action_location(); }