From: Caisking Date: Thu, 30 Oct 2025 10:50:12 +0000 (+0800) Subject: 增加nextday X-Git-Tag: V1.0.9_20251128_194606_LN~95^2~24 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=40942793305c568af707a99414ab0347b5c93fb1;p=mirrors%2FFD230.git 增加nextday --- diff --git a/code/sdk/application/wearable/fd230/service/msg_center/src/msg_center_customer.cpp b/code/sdk/application/wearable/fd230/service/msg_center/src/msg_center_customer.cpp index 6e189cab9..2b9a8d395 100644 --- a/code/sdk/application/wearable/fd230/service/msg_center/src/msg_center_customer.cpp +++ b/code/sdk/application/wearable/fd230/service/msg_center/src/msg_center_customer.cpp @@ -365,7 +365,6 @@ void MsgCenterNotifyNextDayProc(const Topic topic, Request *req) unused(req); AlarmClockModel::GetInstance()->NextDayNotify(); // current_year = 0; -#if 0 printf("******nextday is begin******\r\n"); // 存储nextday执行日志 start_report_nextday_log_start(); @@ -398,7 +397,6 @@ void MsgCenterNotifyNextDayProc(const Topic topic, Request *req) nextday_clear_popup_windows_log(); printf("******nextday is end******\r\n"); -#endif #ifdef SUPPORT_CYWEE_SERVICE /* --------------------------------- 每日目标相关 --------------------------------- */ cywee_reset_history_daily_data(); //清除运动相关数据 @@ -409,7 +407,6 @@ void MsgCenterNotifyNextDayProc(const Topic topic, Request *req) set_Is_show_flag(1,i); } - do_cywee_service_check_msg(CYWEE_SERVICE_CMD_RESET_DAILY_DATA, NULL); // SendMsgToUIService(UI_UPDATE_GOAL, 0, nullptr, 0); @@ -437,7 +434,7 @@ void MsgCenterNotifyONtimeProc(const Topic topic, Request* req) cywee_stand_history_save(time->value); WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "保存每小时卡路里数据"); - cywee_calories_history_save(time->value); + cywee_calories_history_save(time->value); WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "保存每小时距离数据"); cywee_distances_history_save(time->value);