diff --git a/app/lib/a_process/pd_hf.c b/app/lib/a_process/pd_hf.c index 2bba323..cf5b723 100755 --- a/app/lib/a_process/pd_hf.c +++ b/app/lib/a_process/pd_hf.c @@ -337,9 +337,9 @@ void _hf_recv_heartbeat(uint8_t slot, char *pkt, uint16_t len) memcpy(param, &hf_data->run_status, sizeof(hf_heartbeat_t)); /* 发送给后台 */ - if (dau_msg_send_cmd(DAU_SEND_HEARTBEAT, slot, data) != E_NONE) + if (dau_msg_send_cmd(DAU_SEND_HEARTBEAT, slot, param) != E_NONE) { - XFREE(MTYPE_CSG, data); + XFREE(MTYPE_CSG, param); } return;