fix:更新注释等
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @file user\task\HeartBeatTask.c
|
||||
* @author luhuaishuai
|
||||
* @file User\App\task_sys.c
|
||||
* @author 路淮
|
||||
* @version v0.1
|
||||
* @date 2026-1-12
|
||||
* @brief 心跳任务,负责发送心跳包和处理云快充的响应
|
||||
* @date 2026-05-21
|
||||
* @brief 系统任务
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
@@ -13,20 +13,16 @@
|
||||
|
||||
void HeartBeat_Sign(void);
|
||||
|
||||
|
||||
/**
|
||||
* @funNm : HeartbeatTask_Function
|
||||
* @brief : 心跳
|
||||
* @param : argument
|
||||
* @retval: void
|
||||
* @brief sys_task_function:系统任务
|
||||
* @note none
|
||||
* @param none
|
||||
* @retval none
|
||||
*/
|
||||
void sys_task_function(void const *argument)
|
||||
{
|
||||
while (1)
|
||||
{
|
||||
TaskRunTimeStat.HeartBeatTask.threads_runtime = GetTask_RunTime(HeartBeatTaskID);
|
||||
TaskRunTimeStat.HeartBeatTask.threads_counter = GetTask_Beatcnt(HeartBeatTaskID);
|
||||
TaskRunTimeStat.HeartBeatTask.threads_freestack = Get_Free_Stack(HeartBeatTaskID);
|
||||
|
||||
HeartBeat_Sign(); // 指示灯、蜂鸣器
|
||||
|
||||
|
||||
Reference in New Issue
Block a user