You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
314 B
21 lines
314 B
5 years ago
|
#ifndef APP_TASK_WDT
|
||
|
#define APP_TASK_WDT
|
||
|
|
||
|
#include "../ctask/task.h"
|
||
|
|
||
|
struct _s_task_wdt
|
||
|
{
|
||
|
TS_task task;
|
||
|
vU8 seed_flag;
|
||
|
};
|
||
|
|
||
|
#define FLAG_WDT_SEED 0
|
||
|
#define FLAG_WDT_hunger 1
|
||
|
|
||
|
extern struct _s_task_wdt s_task_wdt;
|
||
|
|
||
|
extern void L3_task_wdt_init();
|
||
|
extern void L3_task_wdt_handle(struct _s_task_wdt *s);
|
||
|
|
||
|
#endif
|