#ifndef _WATCHDOG_TASK_H_ #define _WATCHDOG_TASK_H_ #include #include #include #define TASK_WATCHDOG_NUM_MAX 20 // 能容纳需要看门狗监控的任务最大数 void TaskWatchDog(void *arg); void TaskWatchdogInit(void); void TaskWatchDogRestart(void); int TaskWatchdogRegEvent(const char *TaskName); int TaskWatchdogFreed(int8_t id); #endif