This commit is contained in:
JiXieShi
2024-05-20 21:53:19 +08:00
parent be1d31e732
commit 395cb4489c
20 changed files with 207 additions and 60 deletions

View File

@@ -1,6 +1,9 @@
#ifndef TASK_H
#define TASK_H
#ifdef __cplusplus
extern "C" {
#endif
#include "stdint.h"
#define true 0
@@ -56,5 +59,7 @@ TaskStatus_t TaskSetTime(Task_t *task, TaskTime_t time);
//任务调度
TaskStatus_t TaskRun(void);
#ifdef __cplusplus
}
#endif
#endif //TASK_H