初始化提交

This commit is contained in:
王立帮
2024-07-20 22:09:06 +08:00
commit c247dd07a6
6876 changed files with 2743096 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
#include "compatibility.h"
uint32_t millis(void)
{
struct timeval now;
uint32_t ms;
gettimeofday(&now, NULL);
ms = ((now.tv_sec * 1000000) + now.tv_usec) / 1000;
return (ms);
}