fix(增加更多测试): 增加其他接口测试
This commit is contained in:
parent
9073edb7a8
commit
6a16cd95b2
|
@ -4,6 +4,7 @@
|
||||||
"stdio.h": "c",
|
"stdio.h": "c",
|
||||||
"windows.h": "c",
|
"windows.h": "c",
|
||||||
"cmath": "c",
|
"cmath": "c",
|
||||||
"list.h": "c"
|
"list.h": "c",
|
||||||
|
"stdlib.h": "c"
|
||||||
}
|
}
|
||||||
}
|
}
|
Binary file not shown.
Binary file not shown.
|
@ -22,6 +22,11 @@ void hello_dog(){
|
||||||
printf("hello dog\n");
|
printf("hello dog\n");
|
||||||
}
|
}
|
||||||
EXPORT_EASY_TIMER_HANDLE(hello_dog,TIMER_CONTINUE_TRIGGER, MS_TO_TICK(1000));
|
EXPORT_EASY_TIMER_HANDLE(hello_dog,TIMER_CONTINUE_TRIGGER, MS_TO_TICK(1000));
|
||||||
|
|
||||||
|
void hello_once(){
|
||||||
|
printf("hello once\n");
|
||||||
|
}
|
||||||
|
EXPORT_EASY_TIMER_HANDLE(hello_once,TIMER_SIGNAL_TRIGGER, MS_TO_TICK(1000));
|
||||||
/**
|
/**
|
||||||
* @brief 获取当前时间
|
* @brief 获取当前时间
|
||||||
* @return 时间
|
* @return 时间
|
||||||
|
|
Loading…
Reference in New Issue