From: hcj <1224667075@qq.com> Date: Thu, 11 Jul 2024 09:06:14 +0000 (+0800) Subject: 消息去文件IO(补) X-Git-Tag: release_V1.2.70_20241020_135402~826^2~4^2 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=refs%2Fchanges%2F503%2F2;p=mirrors%2FFD230.git 消息去文件IO(补) --- diff --git a/code/sdk/application/wearable/service/ble_service/bleservice/bleEvent.h b/code/sdk/application/wearable/service/ble_service/bleservice/bleEvent.h index 9dfeba67f..d1a79a943 100644 --- a/code/sdk/application/wearable/service/ble_service/bleservice/bleEvent.h +++ b/code/sdk/application/wearable/service/ble_service/bleservice/bleEvent.h @@ -774,7 +774,7 @@ uint8_t calculate_lrc_file(char *file_path); void* message_data(int uid,int appid,char *title,char *msg,int hasCode); -void CustomEventPublish_TOPIC_EVENT_MESSAGENOTE(void*); +void CustomEventPublish_TOPIC_EVENT_MESSAGENOTE(void* data); void send_AI_is_ready(uint8_t type); diff --git a/code/sdk/drivers/peripheral/utils/pdu.c b/code/sdk/drivers/peripheral/utils/pdu.c index b1292ea3a..3ffb327c5 100644 --- a/code/sdk/drivers/peripheral/utils/pdu.c +++ b/code/sdk/drivers/peripheral/utils/pdu.c @@ -323,8 +323,8 @@ int pdu_decode_example(const char *inpdustr ) timenow->tm_min, timenow->tm_sec); - ancs_msg_index= message_data(0,0,phone_number,text,0); - CustomEventPublish_TOPIC_EVENT_MESSAGENOTE(ancs_msg_index); + void *data= message_data(0,0,phone_number,text,0); + CustomEventPublish_TOPIC_EVENT_MESSAGENOTE(data); } return ret;